@dataclass
does not handle __hash__: None
special case
#11495
Labels
Content-Length: 238363 | pFad | https://github.com/python/mypy/issues/11495
E8@dataclass
does not handle __hash__: None
special case
#11495
Fetched URL: https://github.com/python/mypy/issues/11495
Alternative Proxies:
While working on #11463 I found that adding
__hash__: None
annotations does not work correctly.Mypy says:
It looks like
__hash__
is added tofields
and__init__
. While runtime version works just fine:I will fix it in the same PR as #11463
The text was updated successfully, but these errors were encountered: