PyDocs

Nav

Python Runtime Services

hash

builtins

function
  • hash(object, /)
Return the integer hash value for the given object.

Two objects that compare equal must also have the same hash value, but
the reverse is not necessarily true.  Hash values may differ between
Python processes.  Not all objects are hashable; calling hash() on an
unhashable object raises TypeError.
0 Examples
No examples for builtins/hash.
See Also
No see-alsos for builtins/hash
0 Notes
No notes for hash