8000 Fix type object signature when both __new__ and __init__ present by msullivan · Pull Request #5642 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Fix type object signature when both __new__ and __init__ present #5642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 20, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
oops
  • Loading branch information
msullivan committed Sep 20, 2018
commit 23ce6212e26ea165324bd8997770e30eb4eedc37
2 changes: 1 addition & 1 deletion test-data/unit/check-classes.test
Original file line number Diff line number Diff line change
Expand Up @@ -5152,7 +5152,7 @@ class A:
pass

reveal_type(A) # E: Revealed type is 'def (x: builtins.int) -> __main__.A'
=======

[case testCyclicDecorator]
import b
[file a.py]
Expand Down
0