SILENT KILLERPanel

Current Path: > > opt > alt > python-internal > lib64 > python3.11 > importlib > metadata >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python-internal/lib64/python3.11/importlib/metadata/

NameTypeSizeLast ModifiedActions
__pycache__ Directory - -
__init__.py File 31109 bytes June 03 2025 18:38:25.
_adapters.py File 1862 bytes June 03 2025 18:38:25.
_collections.py File 743 bytes June 03 2025 18:38:25.
_functools.py File 2895 bytes June 03 2025 18:38:25.
_itertools.py File 2068 bytes June 03 2025 18:38:25.
_meta.py File 1134 bytes June 03 2025 18:38:25.
_text.py File 2166 bytes June 03 2025 18:38:25.

Reading File: //opt/alt/python-internal/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)))

SILENT KILLER Tool