$29 GRAYBYTE WORDPRESS FILE MANAGER $56

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.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python311/lib64/python3.11/importlib/metadata/

HOME
Current File : /opt/alt/python311/lib64/python3.11/importlib/metadata//_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)))


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__pycache__
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.py
30.38 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_adapters.py
1.818 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_collections.py
0.726 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_functools.py
2.827 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_itertools.py
2.02 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_meta.py
1.107 KB
9 Oct 2025 4.16 PM
root / linksafe
0644
_text.py
2.115 KB
9 Oct 2025 4.16 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF