§
    JDvcð  ã                   ó  — d Z ddlmZ ddlZddlmZ 	 ddlmZ n# e$ r ddlZY nw xY wddlmZ 	 ddlm	Z	 ddlm
Z
 dd	lmZ n# e$ r ddl	m	Z	 dd
l
mZ
 dd	lmZ Y nw xY wddlmZ ddlmZ ddlmZ ddlmZ ej        dd…         dk    Zej        dd…         dk    Zefdfd„Zg d¢Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ de¦  «        Z G d„ d e¦  «        Z G d!„ d"e¦  «        Z  G d#„ d$e ee¦  «        Z! G d%„ d&ee!¦  «        Z" G d'„ d(e"¦  «        Z# G d)„ d*e"¦  «        Z$ G d+„ d,e!¦  «        Z% G d-„ d.e%¦  «        Z& G d/„ d0e!¦  «        Z' G d1„ d2e'¦  «        Z( G d3„ d4e ¦  «        Z) G d5„ d6e)e%¦  «        Z* G d7„ d8e)e%¦  «        Z+ G d9„ d:e)e!¦  «        Z, G d;„ d<e¦  «        Z- G d=„ d>e-¦  «        Z. G d?„ d@e¦  «        Z/ G dA„ dBe/¦  «        Z0 G dC„ dDe0¦  «        Z1dS )Eaó  
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   é   © c                 ó”   — |rt          t          | ¦  «        S t          | |dd| z  i¦  «        }|D ]}|                     |¦  «         Œ|S )NÚ__doc__z4The ABC %s is not defined in this version of Python.)Úgetattrr   r   Úregister)ÚnameÚverÚbases_if_missingÚregister_if_missingÚmissingÚcs         úC/usr/lib/python3/dist-packages/zope/interface/common/collections.pyÚ_new_in_verr   J   sr   € ð ð "Ý•s˜DÑ!Ô!Ð!õ �dÐ,ØÐIØñ
ð/ñ ô €Gð !ð ð ˆØ×Ò˜ÑÔÐÐà€Nó    )ÚIAsyncGeneratorÚIAsyncIterableÚIAsyncIteratorÚ
IAwaitableÚICollectionÚ
IContainerÚ
ICoroutineÚ
IGeneratorÚ	IHashableÚ
IItemsViewÚ	IIterableÚ	IIteratorÚ	IKeysViewÚIMappingÚIMappingViewÚIMutableMappingÚIMutableSequenceÚIMutableSetÚIReversibleÚ	ISequenceÚISetÚISizedÚIValuesViewc                   ó2   — e Zd Zej        Zed„ ¦   «         ZdS )r&   c                 ó   — dS )z¢
        Optional method. If not provided, the interpreter will use
        ``__iter__`` or the old ``__getitem__`` protocol
        to implement ``in``.
        Nr   ©Úothers    r   Ú__contains__zIContainer.__contains__z   ó   € € € r    N)Ú__name__Ú
__module__Ú__qualname__r   Ú	Containerr   r<   r   r    r   r&   r&   w   s4   € € € € € Ø
Œ-€Càðð ñ „Xðð ð r    r&   c                   ó   — e Zd Zej        ZdS )r)   N)r>   r?   r@   r   ÚHashabler   r    r   r)   r)   ‚   ó   € € € € € Ø
Œ,€C€C€Cr    r)   c                   ó2   — e Zd Zej        Zed„ ¦   «         ZdS )r+   c                  ó   — dS ©z‰
        Optional method. If not provided, the interpreter will
        implement `iter` using the old ``__getitem__`` protocol.
        Nr   r   r    r   Ú__iter__zIIterable.__iter__ˆ   r=   r    N)r>   r?   r@   r   ÚIterabler   rH   r   r    r   r+   r+   …   s4   € € € € € Ø
Œ,€Càðð ñ „Xðð ð r    r+   c                   ó   — e Zd Zej        ZdS )r,   N)r>   r?   r@   r   ÚIteratorr   r    r   r,   r,   �   rD   r    r,   c                   ód   — e Zd Z edee                     ¦   «         f¦  «        Zed„ ¦   «         Z	dS )r3   Ú
Reversiblec                  ó   — dS ©z§
        Optional method. If this isn't present, the interpreter
        will use ``__len__`` and ``__getitem__`` to implement the
        `reversed` builtin.
        Nr   r   r    r   Ú__reversed__zIReversible.__reversed__•   r=   r    N)
r>   r?   r@   r   ÚPY36r+   ÚgetABCr   r   rP   r   r    r   r3   r3   ’   sO   € € € € € Ø
ˆ+�l D¨9×+;Ò+;Ñ+=Ô+=Ð*?Ñ
@Ô
@€Càðð ñ „Xðð ð r    r3   c                   óN   — e Zd Z edee                     ¦   «         f¦  «        ZdS )r(   Ú	GeneratorN)r>   r?   r@   r   ÚPY35r,   rR   r   r   r    r   r(   r(   �   s0   € € € € € à
ˆ+�k 4¨)×*:Ò*:Ñ*<Ô*<Ð)>Ñ
?Ô
?€C€C€Cr    r(   c                   ó   — e Zd Zej        ZdS )r6   N)r>   r?   r@   r   ÚSizedr   r    r   r6   r6   ¢   s   € € € € € Ø
Œ)€C€C€Cr    r6   c                   óš   — e Zd Z edee                     ¦   «         e                     ¦   «         e                     ¦   «         f¦  «        Z	dS )r%   Ú
CollectionN)
r>   r?   r@   r   rQ   r6   rR   r+   r&   r   r   r    r   r%   r%   ¨   sQ   € € € € € ð ˆ+�l DØ—}’}‘”¨	×(8Ò(8Ñ(:Ô(:¸J×<MÒ<MÑ<OÔ<OÐPñRô R€C€C€Cr    r%   c                   ó`   — e Zd Zej        ZefZeeu re	fndZ
ed„ ¦   «         Zed„ ¦   «         ZdS )r4   r   c                  ó   — dS rO   r   r   r    r   rP   zISequence.__reversed__¸   r=   r    c                  ó   — dS rG   r   r   r    r   rH   zISequence.__iter__À   r=   r    N)r>   r?   r@   r   ÚSequencer	   Úextra_classesÚstrÚbytesÚ
basestringÚignored_classesr   rP   rH   r   r    r   r4   r4   ¯   sk   € € € € € à
Œ,€CØ�M€Mð (+¨e | |�z�m�m¸€Oàðð ñ „Xðð ðð ñ „Xðð ð r    r4   c                   ó"   — e Zd Zej        ZefZdS )r1   N)r>   r?   r@   r   ÚMutableSequencer   r^   r   r    r   r1   r1   Ç   s   € € € € € Ø
Ô
€CØ�K€M€M€Mr    r1   c                   óX   — e Zd ZdZ edee                     ¦   «         fee	f¦  «        Z
dS )ÚIByteStringz/
    This unifies `bytes` and `bytearray`.
    Ú
ByteStringN)r>   r?   r@   r   r   ÚPY3r4   rR   r`   Ú	bytearrayr   r   r    r   rf   rf   Ì   sI   € € € € € ðð ð ˆ+�l CØ ×'Ò'Ñ)Ô)Ð+Ø˜iÐ(ñ*ô *€C€C€Cr    rf   c                   ó   — e Zd Zej        ZdS )r5   N)r>   r?   r@   r   ÚSetr   r    r   r5   r5   Õ   s   € € € € € Ø
Œ'€C€C€Cr    r5   c                   ó   — e Zd Zej        ZdS )r2   N)r>   r?   r@   r   Ú
MutableSetr   r    r   r2   r2   Ù   s   € € € € € Ø
Œ.€C€C€Cr    r2   c                   óJ   — e Zd Zej        ZefZefZe	re
d„ ¦   «         ZeZdS dS )r.   c                 ó   — dS )z:
            The interpreter will supply one.
            Nr   r:   s    r   Ú__eq__zIMapping.__eq__æ   r=   r    N)r>   r?   r@   r   ÚMappingÚdictr^   r   rb   ÚPY2r   rp   Ú__ne__r   r    r   r.   r.   Ý   sW   € € € € € Ø
Œ+€CØ�G€Mð
 #�n€OØ
ð Ø	ð	ð 	ñ 
Œð	ð
 ˆˆˆðð r    r.   c                   ó*   — e Zd Zej        ZeefZefZ	dS )r0   N)
r>   r?   r@   r   ÚMutableMappingrr   r   r^   r   rb   r   r    r   r0   r0   ï   s'   € € € € € Ø
Ô
€CØ˜8Ð%€MØ"�n€O€O€Or    r0   c                   ó   — e Zd Zej        ZdS )r/   N)r>   r?   r@   r   ÚMappingViewr   r    r   r/   r/   ô   s   € € € € € Ø
Œ/€C€C€Cr    r/   c                   ó   — e Zd Zej        ZdS )r*   N)r>   r?   r@   r   Ú	ItemsViewr   r    r   r*   r*   ø   s   € € € € € Ø
Œ-€C€C€Cr    r*   c                   ó   — e Zd Zej        ZdS )r-   N)r>   r?   r@   r   ÚKeysViewr   r    r   r-   r-   ü   rD   r    r-   c                   ó2   — e Zd Zej        Zed„ ¦   «         ZdS )r7   c                 ó   — dS )z²
        Optional method. If not provided, the interpreter will use
        ``__iter__`` or the old ``__len__`` and ``__getitem__`` protocol
        to implement ``in``.
        Nr   r:   s    r   r<   zIValuesView.__contains__  r=   r    N)r>   r?   r@   r   Ú
ValuesViewr   r<   r   r    r   r7   r7      s4   € € € € € Ø
Œ.€Càðð ñ „Xðð ð r    r7   c                   ó&   — e Zd Z ede¦  «        ZdS )r$   Ú	AwaitableN©r>   r?   r@   r   rU   r   r   r    r   r$   r$     ó   € € € € € Ø
ˆ+�k 4Ñ
(Ô
(€C€C€Cr    r$   c                   ó&   — e Zd Z ede¦  «        ZdS )r'   Ú	CoroutineNr‚   r   r    r   r'   r'     rƒ   r    r'   c                   ó&   — e Zd Z ede¦  «        ZdS )r"   ÚAsyncIterableNr‚   r   r    r   r"   r"     ó   € € € € € Ø
ˆ+�o tÑ
,Ô
,€C€C€Cr    r"   c                   ó&   — e Zd Z ede¦  «        ZdS )r#   ÚAsyncIteratorNr‚   r   r    r   r#   r#     rˆ   r    r#   c                   ó&   — e Zd Z ede¦  «        ZdS )r!   ÚAsyncGeneratorN)r>   r?   r@   r   rQ   r   r   r    r   r!   r!     s    € € € € € Ø
ˆ+Ð&¨Ñ
-Ô
-€C€C€Cr    r!   )2r   Ú
__future__r   Úsysr   r   ÚcollectionsÚImportErrorr   r   r   r	   r
   Úzope.interface._compatr   rs   r   rh   Úzope.interface.commonr   r   Úversion_inforU   rQ   r   Ú__all__r&   r)   r+   r,   r3   r(   r6   r%   r4   r1   rf   r5   r2   r.   r0   r/   r*   r-   r7   r$   r'   r"   r#   r!   r   r    r   ú<module>r•      sî  ððð ð( 'Ð &Ð &Ð &Ð &Ð &à 
€
€
€
à Ð Ð Ð Ð Ð ðØÐÐÐÐÐÐøØð ð ð ØÐÐÐÐÐðøøøà #Ð #Ð #Ð #Ð #Ð #ð&ð %Ð$Ð$Ð$Ð$Ð$Ø$Ð$Ð$Ð$Ð$Ð$Ø&Ð&Ð&Ð&Ð&Ð&Ð&øØð &ð &ð &à!Ð!Ð!Ð!Ð!Ð!Ø5Ð5Ð5Ð5Ð5Ð5Ø%Ð%Ð%Ð%Ð%Ð%Ð%Ð%ð	&øøøð 2Ð 1Ð 1Ð 1Ð 1Ð 1Ø 1Ð 1Ð 1Ð 1Ð 1Ð 1Ø .Ð .Ð .Ð .Ð .Ð .Ø *Ð *Ð *Ð *Ð *Ð *ð Ô˜˜˜Ô˜vÒ%€Ø
Ô˜˜˜Ô˜vÒ%€ð #* Ø$&ðð ð ð ð&ð ð €ð4	ð 	ð 	ð 	ð 	�ñ 	ô 	ð 	ðð ð ð ð �ñ ô ð ðð ð ð ð �ñ ô ð ðð ð ð ð �	ñ ô ð ð	ð 	ð 	ð 	ð 	�)ñ 	ô 	ð 	ð@ð @ð @ð @ð @�ñ @ô @ð @ð
ð ð ð ð ˆ\ñ ô ð ðRð Rð Rð Rð R�&ØØñRô Rð Rðð ð ð ð �Øñô ð ð0 ð  ð  ð  ð  �yñ  ô  ð  ð
*ð *ð *ð *ð *�)ñ *ô *ð *ðð ð ð ð ˆ;ñ ô ð ðð ð ð ð �$ñ ô ð ðð ð ð ð ˆ{ñ ô ð ð$%ð %ð %ð %ð %�hñ %ô %ð %ð
ð ð ð ð �6ñ ô ð ðð ð ð ð �˜tñ ô ð ðð ð ð ð �˜dñ ô ð ð	ð 	ð 	ð 	ð 	�, ñ 	ô 	ð 	ð)ð )ð )ð )ð )�ñ )ô )ð )ð)ð )ð )ð )ð )�ñ )ô )ð )ð-ð -ð -ð -ð -�\ñ -ô -ð -ð-ð -ð -ð -ð -�^ñ -ô -ð -ð.ð .ð .ð .ð .�nñ .ô .ð .ð .ð .s   ” ›	'¦'±A ÁAÁA