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

Method __delete__

src/werkzeug/_internal.py:186–190  ·  view source on GitHub ↗
(self, instance: t.Any)

Source from the content-addressed store, hash-verified

184 self.lookup(instance)[self.name] = value
185
186 def __delete__(self, instance: t.Any) -> None:
187 if self.read_only:
188 raise AttributeError("read only property")
189
190 self.lookup(instance).pop(self.name, None)
191
192 def __repr__(self) -> str:
193 return f"<{type(self).__name__} {self.name}>"

Callers

nothing calls this directly

Calls 2

lookupMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected