HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /lib/python3/dist-packages/zope/interface/common/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/zope/interface/common/__pycache__/builtins.cpython-311.pyc
�

JDvc����dZddlmZddlmZddlmZddlmZddlmZgd�Z	Gd�d	ej
��ZGd
�dej��Z
Gd�d
ej��ZGd�dej��ZGd�deeurene��Zeee��Gd�dej��ZGd�dej��ZGd�dej��ZdS)z�
Interface definitions for builtin types.

After this module is imported, the standard library types will declare
that they implement the appropriate interface.

.. versionadded:: 5.0.0
�)�absolute_import)�classImplements)�collections)�numbers)�io)�IList�ITuple�ITextString�IByteString�
INativeString�IBool�IDict�IFilec� �eZdZdZefZdd�ZdS)rz%
    Interface for :class:`list`
    NFc��dS)zs
        Sort the list in place and return None.

        *key* and *reverse* must be passed by name only.
        N�)�key�reverses  �@/usr/lib/python3/dist-packages/zope/interface/common/builtins.py�sortz
IList.sort.s����)NF)�__name__�
__module__�__qualname__�__doc__�list�
extra_classesrrrrrr(s;���������G�M������rrc��eZdZdZefZdS)r	z&
    Interface for :class:`tuple`
    N)rrrr�tuplerrrrr	r	6s!���������H�M�M�Mrr	c�*�eZdZdZed��fZdS)r
z�
    Interface for text (unicode) strings.

    On Python 2, this is :class:`unicode`. On Python 3,
    this is :class:`str`
    �unicodeN)rrrr�typerrrrr
r
=s,���������T�*�%�%�'�M�M�Mrr
c��eZdZdZefZdS)rz�
    Interface for immutable byte strings.

    On all Python versions this is :class:`bytes`.

    Unlike :class:`zope.interface.common.collections.IByteString`
    (the parent of this interface) this does *not* include
    :class:`bytearray`.
    N)rrrr�bytesrrrrrrGs!���������H�M�M�Mrrc��eZdZdZdS)rz�
    Interface for native strings.

    On all Python versions, this is :class:`str`. On Python 2,
    this extends :class:`IByteString`, while on Python 3 it extends
    :class:`ITextString`.
    N)rrrrrrrrrTs���������rrc��eZdZdZefZdS)r
z%
    Interface for :class:`bool`
    N)rrrr�boolrrrrr
r
`�!���������G�M�M�Mrr
c��eZdZdZefZdS)rz%
    Interface for :class:`dict`
    N)rrrr�dictrrrrrrgr(rrc�6�eZdZdZ	efZdS#e$rdZYdSwxYw)ra�
    Interface for :class:`file`.

    It is recommended to use the interfaces from :mod:`zope.interface.common.io`
    instead of this interface.

    On Python 3, there is no single implementation of this interface;
    depending on the arguments, the :func:`open` builtin can return
    many different classes that implement different interfaces from
    :mod:`zope.interface.common.io`.
    rN)rrrr�filer�	NameErrorrrrrrnsJ������
�
����
�
�
�������
�
�
�
����s�
��rN)r�
__future__r�zope.interfacer�zope.interface.commonrrr�__all__�IMutableSequencer�	ISequencer	r
r�strr$r�	IIntegralr
�IMutableMappingr�IIOBaserrrr�<module>r8s
����'�&�&�&�&�&�*�*�*�*�*�*�-�-�-�-�-�-�)�)�)�)�)�)�$�$�$�$�$�$�	�	�	�������K�(���������[�
"����(�(�(�(�(�+�'�(�(�(�
�
�
�
�
�+�)�
�
�
������3�%�<�<�K�K�[�������]�#�#�#������G����������K�'���������B�J�����r