MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

HeaderRegistryClass · 0.90
superClass · 0.85
__setattr__Method · 0.45

Tested by

no test coverage detected