$40 GRAYBYTE WORDPRESS FILE MANAGER $42

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

/opt/alt/python37/lib/python3.7/site-packages/importlib_metadata/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/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
..
--
24 May 2024 8.37 AM
root / linksafe
0755
__pycache__
--
3 Mar 2024 11.11 PM
root / linksafe
0755
__init__.py
28.655 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_adapters.py
1.818 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_collections.py
0.726 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_compat.py
2.293 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_functools.py
2.442 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_itertools.py
0.593 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_meta.py
1.123 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
_text.py
2.146 KB
27 Jun 2021 7.20 AM
root / linksafe
0644
py.typed
0 KB
27 Jun 2021 7.20 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF