MOON
Server: Apache
System: Linux server30c.hostingraja.org 3.10.0-962.3.2.lve1.5.63.el7.x86_64 #1 SMP Fri Oct 8 12:03:35 UTC 2021 x86_64
User: jibhires (1887)
PHP: 8.1.30
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, escapeshellcmd, pcntl_exec
Upload Files
File: //opt/alt/python35/lib64/python3.5/site-packages/aiohttp/__pycache__/signals.cpython-35.opt-1.pyc


���Z��@s0ddlmZdZGdd�de�ZdS)�)�
FrozenList�SignalcsFeZdZdZd	Z�fdd�Zdd�Zdd�Z�S)
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�j�||_dS)N)�super�__init__r)�self�owner)�	__class__��/signals.pyrs
zSignal.__init__cCsdj|j|jt|��S)Nz"<Signal owner={}, frozen={}, {!r}>)�formatr�frozen�list)rr
r
r�__repr__szSignal.__repr__c�s<|jstd��x |D]}|||�IdHqWdS)z9
        Sends data to all registered receivers.
        zCannot send non-frozen signal.N)r
�RuntimeError)r�args�kwargsZreceiverr
r
r�sends	
zSignal.send)r)�__name__�
__module__�__qualname__�__doc__�	__slots__rrrr
r
)r	rrs
N)r)Zaiohttp.frozenlistr�__all__rr
r
r
r�<module>s