-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
bugmypy got something wrongmypy got something wrongfalse-positivemypy gave an error on correct codemypy gave an error on correct codepriority-0-hightopic-protocols
Description
from collections.abc import Sequence
class Spam: pass
Sequence.register(Spam)Produces this error when run through mypy:
test.py:5: error: "Type[Sequence[Any]]" has no attribute "register"
This is a regression in v0.650. This error was not produced in v0.641.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugmypy got something wrongmypy got something wrongfalse-positivemypy gave an error on correct codemypy gave an error on correct codepriority-0-hightopic-protocols