Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/twisted/test/__pycache__/stdio_test_hostpeer.cpython-39.pyc
Ðазад
a k�hA � @ sz d Z ddlZddlmZmZ ddlmZ G dd� dej�Ze dkrve� ejd ��� dd lm Z e�e� � e �� dS ) z� Main program for the child process run by L{twisted.test.test_stdio.StandardInputOutputTests.test_hostAndPeer} to test that ITransport.getHost() and ITransport.getPeer() work for process transports. � N)�protocol�stdio)�reflectc @ s e Zd Zdd� Zdd� ZdS )� HostPeerChildc C sD | j �d�t| j �� ��d�t| j �� ��d�g�� | j �� d S )N� �ascii)� transport�write�join�strZgetHost�encodeZgetPeerZloseConnection)�self� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/twisted/test/stdio_test_hostpeer.py�connectionMade s ���zHostPeerChild.connectionMadec C s t �� d S )N)�reactor�stop)r �reasonr r r �connectionLost s zHostPeerChild.connectionLostN)�__name__� __module__�__qualname__r r r r r r r s r �__main__� )r )�__doc__�sysZtwisted.internetr r Ztwisted.pythonr �Protocolr r ZnamedAny�argv�installr Z StandardIO�runr r r r �<module> s
| ver. 1.1 | |
.
| PHP 8.3.30 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка