%PDF- %PDF-
Direktori : /lib/python3/dist-packages/setuptools/__pycache__/ |
Current File : //lib/python3/dist-packages/setuptools/__pycache__/monkey.cpython-312.pyc |
� _�dN � � � d Z ddlZddlZddlZddlZddlZddlmZ ddl Z ddl Z g Z d� Zd� Z d� Zd� Zd� Zd � Zd � Zd� Zy)z Monkey patching of distutils. � N)� import_modulec �z � t j � dk( r| f| j z S t j | � S )am Returns the bases classes for cls sorted by the MRO. Works around an issue on Jython where inspect.getmro will not return all base classes if multiple classes share the same name. Instead, this function will return a tuple containing the class itself, and the contents of cls.__bases__. See https://github.com/pypa/setuptools/issues/1024. �Jython)�platform�python_implementation� __bases__�inspect�getmro)�clss �3/usr/lib/python3/dist-packages/setuptools/monkey.py�_get_mror s5 � � �%�%�'�8�3��v�� � �%�%��>�>�#��� c � � t | t � rt n"t | t j � rt nd� } || � S )Nc � � y )N� )�items r �<lambda>zget_unpatched.<locals>.<lambda>* s � r )� isinstance�type�get_unpatched_class�types�FunctionType�get_unpatched_function)r �lookups r � get_unpatchedr $ s>