MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/importlib/metadata/__init__.py:950–955  ·  view source on GitHub ↗
(self, name: str | None)

Source from the content-addressed store, hash-verified

948 legacy_normalized = None
949
950 def __init__(self, name: str | None):
951 self.name = name
952 if name is None:
953 return
954 self.normalized = self.normalize(name)
955 self.legacy_normalized = self.legacy_normalize(name)
956
957 @staticmethod
958 def normalize(name):

Callers

nothing calls this directly

Calls 2

normalizeMethod · 0.95
legacy_normalizeMethod · 0.95

Tested by

no test coverage detected