ok

Mini Shell

Direktori : /lib64/python3.6/site-packages/zope/interface/__pycache__/
Upload File :
Current File : //lib64/python3.6/site-packages/zope/interface/__pycache__/exceptions.cpython-36.pyc

3

��[��@shdZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�Zd
S)zInterface-specific exceptions
c@seZdZdZdS)�Invalidz A specification is violated
    N)�__name__�
__module__�__qualname__�__doc__�rr�"/usr/lib64/python3.6/exceptions.pyrsrc@s eZdZdZdd�Zdd�ZdS)�DoesNotImplementz  This object does not implement cCs
||_dS)N)�	interface)�selfr	rrr�__init__szDoesNotImplement.__init__cCs
d|jS)Nz>An object does not implement interface %(interface)s

        )�__dict__)r
rrr�__str__szDoesNotImplement.__str__N)rrrrrr
rrrrrsrc@s eZdZdZdd�Zdd�ZdS)�BrokenImplementationz0An attribute is not completely implemented.
    cCs||_||_dS)N)r	�name)r
r	rrrrr#szBrokenImplementation.__init__cCs
d|jS)NztAn object has failed to implement interface %(interface)s

        The %(name)s attribute was not provided.
        )r)r
rrrr
'szBrokenImplementation.__str__N)rrrrrr
rrrrrsrc@s eZdZdZdd�Zdd�ZdS)�BrokenMethodImplementationz-An method is not completely implemented.
    cCs||_||_dS)N)�method�mess)r
rrrrrr1sz#BrokenMethodImplementation.__init__cCs
d|jS)NzYThe implementation of %(method)s violates its contract
        because %(mess)s.
        )r)r
rrrr
5sz"BrokenMethodImplementation.__str__N)rrrrrr
rrrrr-src@seZdZdZdS)�InvalidInterfacez'The interface has invalid contents
    N)rrrrrrrrr:src@seZdZdZdS)�
BadImplementsz�An implementation assertion is invalid

    because it doesn't contain an interface or a sequence of valid
    implementation assertions.
    N)rrrrrrrrr>srN)	r�	Exceptionrrrrr�	TypeErrorrrrrr�<module>s



Zerion Mini Shell 1.0