3 ,�W$ � @ s d Z G dd� de�ZdS )zG This module supplies a pure-Python version of zope.hookable.hookable. c @ sH e Zd ZdZedd� �Zedd� �Zdd� Zdd � Zd d� Z dd � Z dS )�hookable� __original�__implementationc C s | j S )N)�_hookable__original)�self� r �/usr/lib/python3.6/hookable.py�<lambda> s zhookable.<lambda>c C s | j S )N)�_hookable__implementation)r r r r r s c C s | | _ | _d S )N)r r )r �implementationr r r �__init__ s zhookable.__init__c C s | j | }| _ |S )N)r )r Znewimplementation�oldr r r �sethook s zhookable.sethookc C s | j | _d S )N)r r )r r r r �reset s zhookable.resetc O s | j ||�S )N)r )r �args�kwr r r �__call__ s zhookable.__call__N)r r )�__name__� __module__�__qualname__� __slots__�propertyZoriginalr r r r r r r r r r s r N)�__doc__�objectr r r r r �<module> s