ok

Mini Shell

Direktori : /opt/alt/python38/lib64/python3.8/site-packages/aiohttp/__pycache__/
Upload File :
Current File : //opt/alt/python38/lib64/python3.8/site-packages/aiohttp/__pycache__/signals.cpython-38.pyc

U

'�7`T�@s$ddlmZdZGdd�de�ZdS)�)�
FrozenList)�Signalcs4eZdZdZdZ�fdd�Zdd�Zdd�Z�ZS)	rz�Coroutine-based signal implementation.

    To connect a callback to a signal, use any list method.

    Signals are fired using the send() coroutine, which takes named
    arguments.
    )�_ownercst���||_dS)N)�super�__init__r)�self�owner��	__class__��B/opt/alt/python38/lib64/python3.8/site-packages/aiohttp/signals.pyrs
zSignal.__init__cCsd�|j|jt|��S)Nz"<Signal owner={}, frozen={}, {!r}>)�formatr�frozen�list)rrrr�__repr__s
�zSignal.__repr__c�s,|jstd��|D]}|||�IdHqdS)z9
        Sends data to all registered receivers.
        zCannot send non-frozen signal.N)r�RuntimeError)r�args�kwargsZreceiverrrr�sendszSignal.send)	�__name__�
__module__�__qualname__�__doc__�	__slots__rrr�
__classcell__rrr	rrs
rN)Zaiohttp.frozenlistr�__all__rrrrr�<module>s

Zerion Mini Shell 1.0