The typing module does in fact contain a Hashable type (now documented). It’s an alias for collections.abc.Hashable.
>>> import typing
>>> typing.Hashable
<class 'collections.abc.Hashable'>
The typing module does in fact contain a Hashable type (now documented). It’s an alias for collections.abc.Hashable.
>>> import typing
>>> typing.Hashable
<class 'collections.abc.Hashable'>