We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
_alias
dict_keys
from _collections_abc import dict_keys as real_dict_keys from typing import TYPE_CHECKING if TYPE_CHECKING: dict_keys = real_dict_keys # type: ignore[misc] else: from typing import _alias # noqa dict_keys = _alias(real_dict_keys, 2) # test.py def test_dict_keys(): typ = dict_keys[str, int] dk1: typ = {'a': 1}.keys() dk:2 typ = {1: 'a'}.keys() # type: ignore[assignment]
The text was updated successfully, but these errors were encountered:
_aslias
Successfully merging a pull request may close this issue.
The text was updated successfully, but these errors were encountered: