$74 GRAYBYTE WORDPRESS FILE MANAGER $25

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib64/python3.7/site-packages/pyrsistent/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/site-packages/pyrsistent/__pycache__//_helpers.cpython-37.pyc
B

��@[�	�@s`ddlmZddlZddlmZmZddlmZmZddl	m
Z
mZdd�Zdd	�Z
d
d�ZdS)�)�wrapsN)�PMap�pmap)�PSet�pset)�PVector�pvectorcCslt|�}|tkr,ttdd�t�|�D���S|tkrBttt|��S|t	krXt	tt|��S|t
krht|�S|S)a
    Recursively convert simple Python containers into pyrsistent versions
    of those containers.

    - list is converted to pvector, recursively
    - dict is converted to pmap, recursively on values (but not keys)
    - set is converted to pset, but not recursively
    - tuple is converted to tuple, recursively.

    Sets and dict keys are not recursively frozen because they do not contain
    mutable data by convention. The main exception to this rule is that
    dict keys and set elements are often instances of mutable objects that
    support hash-by-id, which this function can't convert anyway.

    >>> freeze(set([1, 2]))
    pset([1, 2])
    >>> freeze([1, {'a': 3}])
    pvector([1, pmap({'a': 3})])
    >>> freeze((1, []))
    (1, pvector([]))
    css|]\}}|t|�fVqdS)N)�freeze)�.0�k�v�r
�F/opt/alt/python37/lib64/python3.7/site-packages/pyrsistent/_helpers.py�	<genexpr> szfreeze.<locals>.<genexpr>)�type�dictr�six�	iteritems�listr�mapr	�tuple�setr)�o�typr
r
rr	sr	cCsht|t�rttt|��St|t�r8tdd�|��D��St|t�rJt	|�St
|�tkrdttt|��S|S)a�
    Recursively convert pyrsistent containers into simple Python containers.

    - pvector is converted to list, recursively
    - pmap is converted to dict, recursively on values (but not keys)
    - pset is converted to set, but not recursively
    - tuple is converted to tuple, recursively.

    >>> from pyrsistent import s, m, v
    >>> thaw(s(1, 2))
    set([1, 2])
    >>> thaw(v(1, m(a=3)))
    [1, {'a': 3}]
    >>> thaw((1, v()))
    (1, [])
    css|]\}}|t|�fVqdS)N)�thaw)r
rrr
r
rr>szthaw.<locals>.<genexpr>)�
isinstancerrrrrrrrrrr)rr
r
rr*s


rcst���fdd��}|S)a
    Convenience decorator to isolate mutation to within the decorated function (with respect
    to the input arguments).

    All arguments to the decorated function will be frozen so that they are guaranteed not to change.
    The return value is also frozen.
    cs*t�dd�|D�tdd�|��D����S)NcSsg|]}t|��qSr
)r	)r
�er
r
r�
<listcomp>Psz+mutant.<locals>.inner_f.<locals>.<listcomp>css|]}t|�VqdS)N)r	)r
�itemr
r
rrPsz*mutant.<locals>.inner_f.<locals>.<genexpr>)r	r�items)�args�kwargs)�fnr
r�inner_fNszmutant.<locals>.inner_f)r)r"r#r
)r"r�mutantFsr$)�	functoolsrrZpyrsistent._pmaprrZpyrsistent._psetrrZpyrsistent._pvectorrrr	rr$r
r
r
r�<module>s"


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 11.10 PM
root / root
0755
__init__.cpython-37.opt-1.pyc
1.584 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
__init__.cpython-37.pyc
1.584 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_checked_types.cpython-37.opt-1.pyc
21.088 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_checked_types.cpython-37.pyc
21.088 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_compat.cpython-37.opt-1.pyc
0.635 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_compat.cpython-37.pyc
0.635 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_field_common.cpython-37.opt-1.pyc
10.419 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_field_common.cpython-37.pyc
10.419 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_helpers.cpython-37.opt-1.pyc
3.272 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_helpers.cpython-37.pyc
3.272 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_immutable.cpython-37.opt-1.pyc
3.737 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_immutable.cpython-37.pyc
3.737 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pbag.cpython-37.opt-1.pyc
6.955 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pbag.cpython-37.pyc
6.955 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pclass.cpython-37.opt-1.pyc
9.522 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pclass.cpython-37.pyc
9.522 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pdeque.cpython-37.opt-1.pyc
10.717 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pdeque.cpython-37.pyc
10.717 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_plist.cpython-37.opt-1.pyc
9.03 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_plist.cpython-37.pyc
9.03 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pmap.cpython-37.opt-1.pyc
14.978 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pmap.cpython-37.pyc
14.978 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_precord.cpython-37.opt-1.pyc
6.67 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_precord.cpython-37.pyc
6.67 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pset.cpython-37.opt-1.pyc
6.753 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pset.cpython-37.pyc
6.753 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pvector.cpython-37.opt-1.pyc
22.262 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_pvector.cpython-37.pyc
22.262 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_toolz.cpython-37.opt-1.pyc
3.532 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_toolz.cpython-37.pyc
3.532 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_transformations.cpython-37.opt-1.pyc
3.808 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
_transformations.cpython-37.pyc
3.808 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
typing.cpython-37.opt-1.pyc
1.962 KB
14 Nov 2023 1.59 PM
root / linksafe
0644
typing.cpython-37.pyc
1.962 KB
14 Nov 2023 1.59 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF