8000 Now `*CustomType` and `**CustomType` arguments are properly checked by sobolevn · Pull Request #11151 · python/mypy · GitHub
[go: up one dir, main page]

Skip to content

Now *CustomType and **CustomType arguments are properly checked #11151

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 8 commits into from
Oct 31, 2021
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
Next Next commit
Adds correct supertype mapping
  • Loading branch information
sobolevn committed Sep 29, 2021
commit d340e05d444cd3c921652d475d08e18c97100ddd
2 changes: 1 addition & 1 deletion test-data/unit/fixtures/floatdict_python2.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class list(Iterable[T], Generic[T]):
def append(self, x: T) -> None: pass
def extend(self, x: Iterable[T]) -> None: pass

class dict(Iterable[KT], Mapping[KT, VT], Generic[KT, VT]):
class dict(Mapping[KT, VT], Generic[KT, VT]):
@overload
def __init__(self, **kwargs: VT) -> None: pass
@overload
Expand Down
0