HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/zope/hookable/__pycache__/__init__.cpython-310.pyc
o

|h�`��@s�dZddlZddlZe��dvZej�de�ZGdd�de�Z	zddl
mZWne
y2dZYnwes9edur=e	ZdSeZdS)zHookable object support
�N)�PyPy�Jython�PURE_PYTHONc@sleZdZdZdd�Zedd��Zedd��Zedd	��Zed
d��Z	edd
��Z
dd�Zdd�Zdd�Z
dS)�_py_hookable��	_original�_implementationcOsL|sd|vr|�d�f}|rtd��t|�dkrtd��|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__cC�|jS�N)r�rrrr�original$�z_py_hookable.originalcCrr�rrrrrr	(rz_py_hookable.implementationcCs|jjSr)r�__doc__rrrrr,sz_py_hookable.__doc__cCst|jdi�S)N�__dict__��getattrrrrrrr0�z_py_hookable.__dict__cCst|jdd�S)N�	__bases__rrrrrrr 4rz_py_hookable.__bases__cCs|j|}|_|Srr)r�new_callable�oldrrr�sethook8sz_py_hookable.sethookcCs|j|_dSrrrrrr�reset<sz_py_hookable.resetcOs|j|i|��Srrrrrr�__call__?sz_py_hookable.__call__N)�__name__�
__module__�__qualname__�	__slots__r�propertyrr	rrr r#r$r%rrrrrs 	




r)�hookable)r�os�platform�python_implementation�_PYPY�environ�get�_PURE_PYTHON�objectr�zope.hookable._zope_hookabler+�_c_hookable�ImportErrorrrrr�<module>s
+�