Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/zope/interface/common/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/zope/interface/common/__pycache__/collections.cpython-310.pyc
o

$
x`��@s�dZddlmZddlZddlmZzddlmZWn
ey'ddlZYnwddlmZzddlm	Z	ddlm
Z
dd	lmZWney]ddl	m	Z	dd
l
mZ
dd	lmZYnwddl
mZddl
mZdd
lmZddlmZejdd�dkZejdd�dkZefdfdd�Zgd�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd d!�d!e�ZGd"d#�d#e�Z Gd$d%�d%e ee�Z!Gd&d'�d'ee!�Z"Gd(d)�d)e"�Z#Gd*d+�d+e"�Z$Gd,d-�d-e!�Z%Gd.d/�d/e%�Z&Gd0d1�d1e!�Z'Gd2d3�d3e'�Z(Gd4d5�d5e �Z)Gd6d7�d7e)e%�Z*Gd8d9�d9e)e%�Z+Gd:d;�d;e)e!�Z,Gd<d=�d=e�Z-Gd>d?�d?e-�Z.Gd@dA�dAe�Z/GdBdC�dCe/�Z0GdDdE�dEe0�Z1dS)Fa�
Interface definitions paralleling the abstract base classes defined in
:mod:`collections.abc`.

After this module is imported, the standard library types will declare
that they implement the appropriate interface. While most standard
library types will properly implement that interface (that
is, ``verifyObject(ISequence, list()))`` will pass, for example), a few might not:

    - `memoryview` doesn't feature all the defined methods of
      ``ISequence`` such as ``count``; it is still declared to provide
      ``ISequence`` though.

    - `collections.deque.pop` doesn't accept the ``index`` argument of
      `collections.abc.MutableSequence.pop`

    - `range.index` does not accept the ``start`` and ``stop`` arguments.

.. versionadded:: 5.0.0
�)�absolute_importN)�ABCMeta)�abc)�OrderedDict)�UserList)�UserDict)�
UserString)�IterableUserDict)�PYTHON2)�PYTHON3)�ABCInterface)�optional�)��)r��cCs:|rtt|�St||dd|i�}|D]}|�|�q|S)N�__doc__z4The ABC %s is not defined in this version of Python.)�getattrrr�register)�name�ver�bases_if_missing�register_if_missing�missing�crr�C/usr/lib/python3/dist-packages/zope/interface/common/collections.py�_new_in_verJs
��r)�IAsyncGenerator�IAsyncIterable�IAsyncIterator�
IAwaitable�ICollection�
IContainer�
ICoroutine�
IGenerator�	IHashable�
IItemsView�	IIterable�	IIterator�	IKeysView�IMapping�IMappingView�IMutableMapping�IMutableSequence�IMutableSet�IReversible�	ISequence�ISet�ISized�IValuesViewc@�eZdZejZedd��ZdS)r#cC�dS)z�
        Optional method. If not provided, the interpreter will use
        ``__iter__`` or the old ``__getitem__`` protocol
        to implement ``in``.
        Nr��otherrrr�__contains__z�zIContainer.__contains__N)�__name__�
__module__�__qualname__r�	Containerr
r9rrrrr#w�r#c@�eZdZejZdS)r&N)r;r<r=r�Hashablerrrrr&��
r&c@r5)r(cCr6�z�
        Optional method. If not provided, the interpreter will
        implement `iter` using the old ``__getitem__`` protocol.
        Nrrrrr�__iter__�r:zIIterable.__iter__N)r;r<r=r�Iterabler
rDrrrrr(�r?r(c@r@)r)N)r;r<r=r�Iteratorrrrrr)�rBr)c@s*eZdZedee��f�Zedd��Z	dS)r0�
ReversiblecCr6�z�
        Optional method. If this isn't present, the interpreter
        will use ``__len__`` and ``__getitem__`` to implement the
        `reversed` builtin.
        Nrrrrr�__reversed__�r:zIReversible.__reversed__N)
r;r<r=r�PY36r(�getABCrr
rIrrrrr0�sr0c@seZdZedee��f�ZdS)r%�	GeneratorN)r;r<r=r�PY35r)rKrrrrrr%�sr%c@r@)r3N)r;r<r=r�Sizedrrrrr3�rBr3c@s*eZdZedee��e��e��f�Z	dS)r"�
CollectionN)
r;r<r=rrJr3rKr(r#rrrrrr"�s�r"c@sBeZdZejZefZeeure	fndZ
edd��Zedd��Z
dS)r1rcCr6rHrrrrrrI�r:zISequence.__reversed__cCr6rCrrrrrrD�r:zISequence.__iter__N)r;r<r=r�Sequencer�
extra_classes�str�bytes�
basestring�ignored_classesr
rIrDrrrrr1�s
r1c@seZdZejZefZdS)r.N)r;r<r=r�MutableSequencerrQrrrrr.�s
r.c@s(eZdZdZedee��fee	f�Z
dS)�IByteStringz/
    This unifies `bytes` and `bytearray`.
    �
ByteStringN)r;r<r=rr�PY3r1rKrS�	bytearrayrrrrrrW�s�rWc@r@)r2N)r;r<r=r�Setrrrrr2�rBr2c@r@)r/N)r;r<r=r�
MutableSetrrrrr/�rBr/c@s6eZdZejZefZefZe	re
dd��ZeZdSdS)r+cCr6)z:
            The interpreter will supply one.
            Nrr7rrr�__eq__�r:zIMapping.__eq__N)
r;r<r=r�Mapping�dictrQrrU�PY2r
r]�__ne__rrrrr+�s
�r+c@s eZdZejZeefZefZ	dS)r-N)
r;r<r=r�MutableMappingr_rrQrrUrrrrr-�s
r-c@r@)r,N)r;r<r=r�MappingViewrrrrr,�rBr,c@r@)r'N)r;r<r=r�	ItemsViewrrrrr'�rBr'c@r@)r*N)r;r<r=r�KeysViewrrrrr*�rBr*c@r5)r4cCr6)z�
        Optional method. If not provided, the interpreter will use
        ``__iter__`` or the old ``__len__`` and ``__getitem__`` protocol
        to implement ``in``.
        Nrr7rrrr9r:zIValuesView.__contains__N)r;r<r=r�
ValuesViewr
r9rrrrr4r?r4c@�eZdZede�ZdS)r!�	AwaitableN�r;r<r=rrMrrrrrr!�r!c@rg)r$�	CoroutineNrirrrrr$rjr$c@rg)r�
AsyncIterableNrirrrrrrjrc@rg)r �
AsyncIteratorNrirrrrr rjr c@rg)r�AsyncGeneratorN)r;r<r=rrJrrrrrrrjr)2r�
__future__r�sysrr�collections�ImportErrorrrrrr	�zope.interface._compatr
r`rrY�zope.interface.commonrr
�version_inforMrJr�__all__r#r&r(r)r0r%r3r"r1r.rWr2r/r+r-r,r'r*r4r!r$rr rrrrr�<module>st��
�
��	

Spamworldpro Mini