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

Method __hash__

lean_py/z3/core.py:135–136  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 return isinstance(other, SortRef) and self._ast_sort == other._ast_sort
134
135 def __hash__(self) -> int:
136 return hash(self._ast_sort)
137
138 def name(self) -> str:
139 """Return sort name as string (z3py compat)."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected