-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
In mypy 0.550 with --strict-optional
, defining an unhashable class like so:
class Foo:
__hash__ = None
gives
hash.py:2: error: Incompatible types in assignment (expression has type "None", base class "object" defined the type as "Callable[[object], int]")
AlexWaygood and finite-state-machine