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
For the following program:
import typing T = typing.TypeVar('T') L = typing.TypeVar('L', bound='List') class List(typing.List[T]): def __init__(self, iterable: typing.Iterable = ()) -> None: super().__init__(iterable) def copy(self: L) -> L: return type(self)(self)
I get the following error:
test.py: error: Unsupported type Type["L"]
mypy 0.560
I do not see why it here an error?
The text was updated successfully, but these errors were encountered:
This is essentially a duplicate of #4300 modulo Tuple -> List. Could you please copy your repro there, and close this one?
Tuple -> List
Sorry, something went wrong.
Copied. I am not sure if it is the same though.
No branches or pull requests
For the following program:
I get the following error:
mypy 0.560
I do not see why it here an error?
The text was updated successfully, but these errors were encountered: