HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //usr/local/lib/python3.10/dist-packages/aiosignal/__pycache__/__init__.cpython-310.pyc
o

���gc�@s(ddlmZdZdZGdd�de�ZdS)�)�
FrozenListz1.3.2)�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__��=/usr/local/lib/python3.10/dist-packages/aiosignal/__init__.pyrs

zSignal.__init__cCsd�|j|jt|��S)Nz"<Signal owner={}, frozen={}, {!r}>)�formatr�frozen�list)rrrr�__repr__s�zSignal.__repr__c�s2�|jstd��|D]}||i|��IdHq
dS)z9
        Sends data to all registered receivers.
        zCannot send non-frozen signal.N)r�RuntimeError)r�args�kwargs�receiverrrr�sends��zSignal.send)	�__name__�
__module__�__qualname__�__doc__�	__slots__rrr�
__classcell__rrr	rrsrN)�
frozenlistr�__version__�__all__rrrrr�<module>s