MCPcopy Create free account
hub / github.com/PyTables/PyTables / __setitem__

Method __setitem__

tables/misc/enum.py:187–189  ·  view source on GitHub ↗

Forbidden operation.

(self, name: Any, value: Any)

Source from the content-addressed store, hash-verified

185 raise KeyError(f"no enumerated value with that name: {name!r}")
186
187 def __setitem__(self, name: Any, value: Any) -> NoReturn:
188 """Forbidden operation."""
189 raise IndexError("operation not allowed")
190
191 def __delitem__(self, name: Any) -> NoReturn:
192 """Forbidden operation."""

Callers 1

test01_maindimMethod · 0.45

Calls

no outgoing calls

Tested by 1

test01_maindimMethod · 0.36