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

Method __init__

Lib/email/policy.py:99–104  ·  view source on GitHub ↗
(self, **kw)

Source from the content-addressed store, hash-verified

97 content_manager = raw_data_manager
98
99 def __init__(self, **kw):
100 # Ensure that each new instance gets a unique header factory
101 # (as opposed to clones, which share the factory).
102 if 'header_factory' not in kw:
103 object.__setattr__(self, 'header_factory', HeaderRegistry())
104 super().__init__(**kw)
105
106 def header_max_count(self, name):
107 """+

Callers

nothing calls this directly

Calls 3

HeaderRegistryClass · 0.90
superClass · 0.85
__setattr__Method · 0.45

Tested by

no test coverage detected