MCPcopy
hub / github.com/benoitc/gunicorn / __init__

Method __init__

gunicorn/glogging.py:97–103  ·  view source on GitHub ↗
(self, atoms)

Source from the content-addressed store, hash-verified

95class SafeAtoms(dict):
96
97 def __init__(self, atoms):
98 dict.__init__(self)
99 for key, value in atoms.items():
100 if isinstance(value, str):
101 self[key] = value.replace('"', '\\"')
102 else:
103 self[key] = value
104
105 def __getitem__(self, k):
106 if k.startswith("{"):

Callers

nothing calls this directly

Calls 2

itemsMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected