python/docs/glossary

glossary

dz / python / docs / glossary

Node Tree

Nodes

hashable
content An object is hashable if it has a hash value which never changes during its lifetime (it needs a __hash__() method), and can be compared to other objects (it needs an __eq__() method). Hashable objects which compare equal must have the same hash value.
parents python/docs/stdtypes/set, leetcode/problems/2352_equal_row_column_pairs, leetcode/problems/141_linked_list_cycle
hyperlink https://docs.python.org/3/glossary.html#term-hashable

generator
content generator: function which returns a generator iterator
parents python/docs/stdtypes/generator
hyperlink https://docs.python.org/3/glossary.html#term-generator