$12 GRAYBYTE WORDPRESS FILE MANAGER $23

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

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

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/pyrsistent/__pycache__//_helpers.cpython-311.pyc
�

�|oi���X�ddlmZddlmZmZddlmZmZddlm	Z	m
Z
d
d�Zd
d�Zd�Z
d	S)���wraps)�PMap�pmap)�PSet�pset)�PVector�pvectorTc����t|��}|tus�rBt|t��r-t	�fd�|���D����S|tus�r7t|t��r"�fd�}tt||����S|tur"�fd�}tt||����S|turt|��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.

    If strict == True (default):

    - freeze is called on elements of pvectors
    - freeze is called on values of pmaps

    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([]))
    c�8��i|]\}}|t|�����S���freeze��.0�k�v�stricts   ��J/opt/cloudlinux/venv/lib64/python3.11/site-packages/pyrsistent/_helpers.py�
<dictcomp>zfreeze.<locals>.<dictcomp>#s)���@�@�@�d�a��Q��q�&�)�)�@�@�@�c�$��t|���S�Nr��xrs �r�<lambda>zfreeze.<locals>.<lambda>%����6�!�V�#4�#4�rc�$��t|���Srrrs �rrzfreeze.<locals>.<lambda>(rr)
�type�dict�
isinstancerr�items�listr	r
�map�tuple�setr)�or�typ�curried_freezes `  rrrs����6�q�'�'�C�
�d�{�{�v�{�*�Q��"5�"5�{��@�@�@�@�a�g�g�i�i�@�@�@�A�A�A�
�d�{�{�v�{�*�Q��"8�"8�{�4�4�4�4���s�>�1�-�-�.�.�.�
�e�|�|�4�4�4�4���S���+�+�,�,�,�
�c�z�z��A�w�w���Hrc����t|��}t|t��s�r+|tur"�fd�}tt	||����St|t
��s�r)|tur �fd�|���D��S|tur"�fd�}tt	||����St|t��rt|��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.

    If strict == True (the default):

    - thaw is called on elements of lists
    - thaw is called on values in dicts

    >>> from pyrsistent import s, m, v
    >>> thaw(s(1, 2))
    {1, 2}
    >>> thaw(v(1, m(a=3)))
    [1, {'a': 3}]
    >>> thaw((1, v()))
    (1, [])
    c�$��t|���Sr��thawrs �rrzthaw.<locals>.<lambda>H�����a����rc�8��i|]\}}|t|�����Sr
r,rs   �rrzthaw.<locals>.<dictcomp>Ks'���9�9�9�t�q�!��4��6�?�?�9�9�9rc�$��t|���Srr,rs �rrzthaw.<locals>.<lambda>Mr.r)rr!r	r#r$rr r"r%rr&)r'rr(�curried_thaws `  rr-r-0s����,�q�'�'�C��!�W���*�&�*�S�D�[�[�0�0�0�0���C��a�(�(�)�)�)��!�T���:�v�:�#��+�+�9�9�9�9�q�w�w�y�y�9�9�9�9�
�e�|�|�0�0�0�0���S��q�)�)�*�*�*��!�T�����1�v�v�
��Hrc�<��t����fd���}|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.
    c���t�d�|D��itd�|���D��������S)Nc�,�g|]}t|����Sr
r)r�es  r�
<listcomp>z+mutant.<locals>.inner_f.<locals>.<listcomp>_s��3�3�3��6�!�9�9�3�3�3rc3�4K�|]}t|��V��dSrr)r�items  r�	<genexpr>z*mutant.<locals>.inner_f.<locals>.<genexpr>_s(����;d�;d�T�F�4�L�L�;d�;d�;d�;d�;d�;dr)rr r")�args�kwargs�fns  �r�inner_fzmutant.<locals>.inner_f]sS����b�b�3�3�d�3�3�3�e�t�;d�;d�U[�Ua�Ua�Uc�Uc�;d�;d�;d�7d�7d�e�e�f�f�frr)r<r=s` r�mutantr>Us:����2�Y�Y�g�g�g�g��Y�g��NrN)T)�	functoolsr�pyrsistent._pmaprr�pyrsistent._psetrr�pyrsistent._pvectorr	r
rr-r>r
rr�<module>rCs���������'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�'�0�0�0�0�0�0�0�0�'
�'
�'
�'
�T"
�"
�"
�"
�J����r


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.cpython-311.pyc
2.069 KB
11 Feb 2026 9.32 AM
root / root
0644
_checked_types.cpython-311.pyc
36.018 KB
11 Feb 2026 9.32 AM
root / root
0644
_field_common.cpython-311.pyc
17.032 KB
11 Feb 2026 9.32 AM
root / root
0644
_helpers.cpython-311.pyc
5.887 KB
11 Feb 2026 9.32 AM
root / root
0644
_immutable.cpython-311.pyc
4.523 KB
11 Feb 2026 9.32 AM
root / root
0644
_pbag.cpython-311.pyc
10.381 KB
11 Feb 2026 9.32 AM
root / root
0644
_pclass.cpython-311.pyc
15.482 KB
11 Feb 2026 9.32 AM
root / root
0644
_pdeque.cpython-311.pyc
17.055 KB
11 Feb 2026 9.32 AM
root / root
0644
_plist.cpython-311.pyc
13.013 KB
11 Feb 2026 9.32 AM
root / root
0644
_pmap.cpython-311.pyc
27.796 KB
11 Feb 2026 9.32 AM
root / root
0644
_precord.cpython-311.pyc
12.024 KB
11 Feb 2026 9.32 AM
root / root
0644
_pset.cpython-311.pyc
9.513 KB
11 Feb 2026 9.32 AM
root / root
0644
_pvector.cpython-311.pyc
33.245 KB
11 Feb 2026 9.32 AM
root / root
0644
_toolz.cpython-311.pyc
3.762 KB
11 Feb 2026 9.32 AM
root / root
0644
_transformations.cpython-311.pyc
6.412 KB
11 Feb 2026 9.32 AM
root / root
0644
typing.cpython-311.pyc
3.681 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF