$68 GRAYBYTE WORDPRESS FILE MANAGER $21

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/pyrsistent/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/pyrsistent//typing.py
"""Helpers for use with type annotation.

Use the empty classes in this module when annotating the types of Pyrsistent
objects, instead of using the actual collection class.

For example,

    from pyrsistent import pvector
    from pyrsistent.typing import PVector

    myvector: PVector[str] = pvector(['a', 'b', 'c'])

"""
from __future__ import absolute_import

try:
    from typing import Container
    from typing import Hashable
    from typing import Generic
    from typing import Iterable
    from typing import Mapping
    from typing import Sequence
    from typing import Sized
    from typing import TypeVar

    __all__ = [
        'CheckedPMap',
        'CheckedPSet',
        'CheckedPVector',
        'PBag',
        'PDeque',
        'PList',
        'PMap',
        'PSet',
        'PVector',
    ]

    T = TypeVar('T')
    KT = TypeVar('KT')
    VT = TypeVar('VT')

    class CheckedPMap(Mapping[KT, VT], Hashable):
        pass

    # PSet.add and PSet.discard have different type signatures than that of Set.
    class CheckedPSet(Generic[T], Hashable):
        pass

    class CheckedPVector(Sequence[T], Hashable):
        pass

    class PBag(Container[T], Iterable[T], Sized, Hashable):
        pass

    class PDeque(Sequence[T], Hashable):
        pass

    class PList(Sequence[T], Hashable):
        pass

    class PMap(Mapping[KT, VT], Hashable):
        pass

    # PSet.add and PSet.discard have different type signatures than that of Set.
    class PSet(Generic[T], Hashable):
        pass

    class PVector(Sequence[T], Hashable):
        pass

    class PVectorEvolver(Generic[T]):
        pass

    class PMapEvolver(Generic[KT, VT]):
        pass

    class PSetEvolver(Generic[T]):
        pass
except ImportError:
    pass

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
17 Dec 2025 3.08 AM
root / root
0755
__pycache__
--
14 Aug 2025 9.25 PM
root / root
0755
__init__.py
1.444 KB
17 Apr 2025 8.10 PM
root / root
0644
__init__.pyi
7.02 KB
17 Apr 2025 8.10 PM
root / root
0644
_checked_types.py
17.941 KB
17 Apr 2025 8.10 PM
root / root
0644
_field_common.py
11.683 KB
17 Apr 2025 8.10 PM
root / root
0644
_helpers.py
3.156 KB
17 Apr 2025 8.10 PM
root / root
0644
_immutable.py
3.21 KB
17 Apr 2025 8.10 PM
root / root
0644
_pbag.py
6.572 KB
17 Apr 2025 8.10 PM
root / root
0644
_pclass.py
9.475 KB
17 Apr 2025 8.10 PM
root / root
0644
_pdeque.py
11.917 KB
17 Apr 2025 8.10 PM
root / root
0644
_plist.py
8.099 KB
17 Apr 2025 8.10 PM
root / root
0644
_pmap.py
18.341 KB
17 Apr 2025 8.10 PM
root / root
0644
_precord.py
6.867 KB
17 Apr 2025 8.10 PM
root / root
0644
_pset.py
5.56 KB
17 Apr 2025 8.10 PM
root / root
0644
_pvector.py
22.162 KB
17 Apr 2025 8.10 PM
root / root
0644
_toolz.py
3.345 KB
17 Apr 2025 8.10 PM
root / root
0644
_transformations.py
3.711 KB
17 Apr 2025 8.10 PM
root / root
0644
py.typed
0 KB
17 Apr 2025 8.10 PM
root / root
0644
typing.py
1.726 KB
17 Apr 2025 8.10 PM
root / root
0644
typing.pyi
10.172 KB
17 Apr 2025 8.10 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF