
    ]Mh                         d Z d Zd ZdS )z2Private utility methods used by the subset modulesc                        fd}|S )zOReturns a decorator function that adds a new method to one or
    more classes.c                     g }D ]w}||v r|                     |           |j        dk    s
J d            t          || j                  rJ d|j        d| j        d            t          || j        |            xd S )NDefaultTablezOops, table class not found.zOops, class 'z' has method 'z'.)append__name__hasattrsetattr)methoddoneclazzclazzess      U/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/fontTools/subset/util.pywrapperz_add_method.<locals>.wrapper   s     	4 	4E}}KK>^3335S333v  W W W6;nnnfoooVW W W E6?F3333t     )r   r   s   ` r   _add_methodr      s#         Nr   c                 :    t          t          |                     S )N)sortedset)ls    r   
_uniq_sortr      s    #a&&>>r   N)__doc__r   r   r   r   r   <module>r      s3    8 8  (    r   