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

Method __reduce_ex__

src/werkzeug/datastructures/structures.py:650–651  ·  view source on GitHub ↗
(self, protocol: t.SupportsIndex)

Source from the content-addressed store, hash-verified

648 __hash__ = None # type: ignore[assignment]
649
650 def __reduce_ex__(self, protocol: t.SupportsIndex) -> t.Any:
651 return type(self), (list(self.items(multi=True)),)
652
653 def __getstate__(self) -> t.Any:
654 return list(self.items(multi=True))

Callers

nothing calls this directly

Calls 2

itemsMethod · 0.95
listFunction · 0.50

Tested by

no test coverage detected