MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / __getitem__

Method __getitem__

lean_py/z3/solver.py:1050–1051  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

1048 return len(self._data)
1049
1050 def __getitem__(self, key: str) -> Any:
1051 return self._data.get(key, 0)
1052
1053 def __contains__(self, key: str) -> bool:
1054 return key in self._data

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected