HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/zope/interface/common/__pycache__/builtins.cpython-39.pyc
a

��_��@s�dZddlmZddlmZddlmZddlmZddlmZgd�Z	Gdd	�d	ej
�ZGd
d�dej�Z
Gdd
�d
ej�ZGdd�dej�ZGdd�deeur�ene�Zeee�Gdd�dej�ZGdd�dej�ZGdd�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@s eZdZdZefZddd�ZdS)rz%
    Interface for :class:`list`
    NFcCsdS)zs
        Sort the list in place and return None.

        *key* and *reverse* must be passed by name only.
        N�)�key�reverserr�@/usr/lib/python3/dist-packages/zope/interface/common/builtins.py�sort.sz
IList.sort)NF)�__name__�
__module__�__qualname__�__doc__�list�
extra_classesrrrrrr(src@seZdZdZefZdS)rz&
    Interface for :class:`tuple`
    N)rrrr�tuplerrrrrr6src@seZdZdZed�fZdS)r	z�
    Interface for text (unicode) strings.

    On Python 2, this is :class:`unicode`. On Python 3,
    this is :class:`str`
    ZunicodeN)rrrr�typerrrrrr	=sr	c@seZdZdZefZdS)r
z�
    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�bytesrrrrrr
Gs	r
c@seZdZdZdS)rz�
    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)rrrrrrrrrTsrc@seZdZdZefZdS)rz%
    Interface for :class:`bool`
    N)rrrr�boolrrrrrr`src@seZdZdZefZdS)r
z%
    Interface for :class:`dict`
    N)rrrr�dictrrrrrr
gsr
c@s2eZdZdZz
efZWney,dZYn0dS)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�	NameErrorrrrrrns

rN)rZ
__future__rZzope.interfacerZzope.interface.commonrrr�__all__ZIMutableSequencerZ	ISequencerr	r
�strrrZ	IIntegralrZIMutableMappingr
ZIIOBaserrrrr�<module>s