Your IP : 216.73.216.224


Current Path : /lib/python3/dist-packages/zope/hookable/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/zope/hookable/__pycache__/__init__.cpython-38.pyc

U

x��]��@s�dZddlZddlZe��dkZej�de�ZGdd�de�Z	zddl
mZWne
k
rfdZYnXestedkrze	ZneZdS)zHookable object support
�N)ZPyPyZJythonZPURE_PYTHONc@sleZdZdZdd�Zedd��Zedd��Zedd	��Zed
d��Z	edd
��Z
dd�Zdd�Zdd�Z
dS)�_py_hookable��	_original�_implementationcOsL|sd|kr|�d�f}|r$td��t|�dkr8td��|d|_|_dS)N�implementationzUnknown keyword arguments�zExactly one argument requiredr)�pop�	TypeError�lenrr��self�args�kw�r�8/usr/lib/python3/dist-packages/zope/hookable/__init__.py�__init__sz_py_hookable.__init__cCs|jS�N)r�rrrr�original#sz_py_hookable.originalcCs|jSr�rrrrrr'sz_py_hookable.implementationcCs|jjSr)r�__doc__rrrrr+sz_py_hookable.__doc__cCst|jdi�S)N�__dict__��getattrrrrrrr/sz_py_hookable.__dict__cCst|jdd�S)N�	__bases__rrrrrrr3sz_py_hookable.__bases__cCs|j|}|_|Srr)rZnew_callable�oldrrr�sethook7sz_py_hookable.sethookcCs|j|_dSrrrrrr�reset;sz_py_hookable.resetcOs|j||�Srrrrrr�__call__>sz_py_hookable.__call__N)�__name__�
__module__�__qualname__�	__slots__r�propertyrrrrrrrrrrrrrs	




r)�hookable)r�os�platformZpython_implementationZ_PYPY�environ�getZ_PURE_PYTHON�objectrZzope.hookable._zope_hookabler$Z_c_hookable�ImportErrorrrrr�<module>s*