+
    -iO              	       H   R t ^ RIHt ^ RIHt  ! R R]4      t ! R R]P                  ]4      t ! R R]4      t ! R	 R
]P                  ]4      t
 ! R R]]
4      t ! R R]
4      t ! R R]4      t ! R R]4      t ! R R]4      t ! R R]P                   ]]]]4      tR# )ah  
Mapping Interfaces.

Importing this module does *not* mark any standard classes as
implementing any of these interfaces.

While this module is not deprecated, new code should generally use
:mod:`zope.interface.common.collections`, specifically
:class:`~zope.interface.common.collections.IMapping` and
:class:`~zope.interface.common.collections.IMutableMapping`. This
module is occasionally useful for its extremely fine grained breakdown
of interfaces.

The standard library :class:`dict` and :class:`collections.UserDict`
implement ``IMutableMapping``, but *do not* implement any of the
interfaces in this module.
)	Interface)collectionsc                   *   a  ] tR t^#t o RtR tRtV tR# )IItemMappingz%Simplest readable mapping object
    c                    R# )zPGet a value for a key

A `KeyError` is raised if there is no value for the key.
N keys   &?/usr/lib/python3/dist-packages/zope/interface/common/mapping.py__getitem__IItemMapping.__getitem__'           r   N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classdictcell____classdict__s   @r
   r   r   #   s      r   r   c                   4   a  ] tR t^.t o RtRR ltR tRtV tR# )IReadMappingzN
Basic mapping interface.

.. versionchanged:: 5.0.0
   Extend ``IContainer``
Nc                    R# )zQGet a value for a key

The default is returned if there is no value for the key.
Nr   r	   defaults   &&r
   getIReadMapping.get6   r   r   c                    R# )z$Tell if a key exists in the mapping.Nr   r   s   &r
   __contains__IReadMapping.__contains__<   r   r   r   N)	r   r   r   r   r   r   r    r   r   r   s   @r
   r   r   .   s     3 3r   r   c                   0   a  ] tR t^At o RtR tR tRtV tR# )IWriteMappingz!Mapping methods for changing datac                    R# )z.Delete a value from the mapping using the key.Nr   r   s   &r
   __delitem__IWriteMapping.__delitem__D   r   r   c                    R# )zSet a new item in the mapping.Nr   )r	   values   &&r
   __setitem__IWriteMapping.__setitem__G   r   r   r   N)	r   r   r   r   r   r&   r*   r   r   r   s   @r
   r$   r$   A   s     +=- -r   r$   c                   <   a  ] tR t^Kt o RtR tR tR tR tRt	V t
R# )IEnumerableMappingz`
Mapping objects whose items can be enumerated.

.. versionchanged:: 5.0.0
   Extend ``ISized``
c                     R# )z/Return the keys of the mapping object.
        Nr   r   r   r
   keysIEnumerableMapping.keysS   r   r   c                     R# )z?Return an iterator for the keys of the mapping object.
        Nr   r   r   r
   __iter__IEnumerableMapping.__iter__W   r   r   c                     R# )z1Return the values of the mapping object.
        Nr   r   r   r
   valuesIEnumerableMapping.values[   r   r   c                     R# )z0Return the items of the mapping object.
        Nr   r   r   r
   itemsIEnumerableMapping.items_   r   r   r   N)r   r   r   r   r   r/   r2   r5   r8   r   r   r   s   @r
   r-   r-   K   s#      r   r-   c                       ] tR t^dtRtRtR# )IMappingzSimple mapping interface r   Nr   r   r   r   r   r   r   r   r
   r;   r;   d   s    $r   r;   c                       ] tR t^htRtRtR# )IIterableMappingzDA mapping that has distinct methods for iterating
without copying.

r   Nr<   r   r   r
   r>   r>   h   s    r   r>   c                   *   a  ] tR t^ot o RtR tRtV tR# )IClonableMappingzKSomething that can produce a copy of itself.

This is available in `dict`.
c                     R# )zreturn copy of dictNr   r   r   r
   copyIClonableMapping.copyu   r   r   r   N)r   r   r   r   r   rB   r   r   r   s   @r
   r@   r@   o   s     
 r   r@   c                       ] tR t^ytRtRtR# )IExtendedReadMappingz
Something with a particular method equivalent to ``__contains__``.

On Python 2, `dict` provided the ``has_key`` method, but it was removed
in Python 3.
r   Nr<   r   r   r
   rE   rE   y   s    r   rE   c                   J   a  ] tR t^t o RtR tR tR	R ltR	R ltR t	Rt
V tR# )
IExtendedWriteMappingz@Additional mutation methods.

These are all provided by `dict`.
c                     R# )zdelete all itemsNr   r   r   r
   clearIExtendedWriteMapping.clear   r   r   c                    R# )z/Update D from E: for k in E.keys(): D[k] = E[k]Nr   )ds   &r
   updateIExtendedWriteMapping.update   r   r   Nc                    R# )z@D.setdefault(k[,d]) -> D.get(k,d), also set D[k]=d if k not in DNr   r   s   &&r
   
setdefault IExtendedWriteMapping.setdefault   r   r   c                    R# )z
pop(k[,default]) -> value

Remove specified key and return the corresponding value.

If key is not found, *default* is returned if given, otherwise
`KeyError` is raised. Note that *default* must not be passed by
name.
Nr   )kr   s   &&r
   popIExtendedWriteMapping.pop   r   r   c                     R# )z]remove and return some (key, value) pair as a
2-tuple; but raise KeyError if mapping is emptyNr   r   r   r
   popitemIExtendedWriteMapping.popitem   r   r   r   r"   )r   r   r   r   r   rI   rM   rP   rT   rW   r   r   r   s   @r
   rG   rG      s)     
;K	; ;r   rG   c                       ] tR t^tRtRtR# )IFullMappinga  
Full mapping interface.

Most uses of this interface should instead use
:class:`~zope.interface.commons.collections.IMutableMapping` (one of the
bases of this interface). The required methods are the same.

.. versionchanged:: 5.0.0
   Extend ``IMutableMapping``
r   Nr<   r   r   r
   rZ   rZ      s    	r   rZ   N)r   zope.interfacer   zope.interface.commonr   r   
IContainerr   r$   ISizedr-   r;   r>   r@   rE   rG   IMutableMappingrZ   r   r   r
   <module>r`      s   " % -9 3;))< 3&-I -++\ 2%}0 %) y + ;M ;>r   