MCPcopy
hub / github.com/pallets/werkzeug / __init__

Method __init__

src/werkzeug/exceptions.py:214–220  ·  view source on GitHub ↗
(self, arg: object | None = None, *args: t.Any, **kwargs: t.Any)

Source from the content-addressed store, hash-verified

212 show_exception = False
213
214 def __init__(self, arg: object | None = None, *args: t.Any, **kwargs: t.Any):
215 super().__init__(*args, **kwargs)
216
217 if arg is None:
218 KeyError.__init__(self)
219 else:
220 KeyError.__init__(self, arg)
221
222 @property
223 def description(self) -> str:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected