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
Input:
class LazyList(Iterator[T], ...): @overload def __getitem__(self, arg: int): ... @overload def __getitem__(self, arg: slice): ...
Output:
class LazyList(...): def __getitem__(args: Either[LazyList, int]) -> int
Note that the inferred type is missing a 'self'. It is also missing a '*' in front of 'args'.
The text was updated successfully, but these errors were encountered:
pinfer: remove it
336959a
Closes python#343, python#303
pinfer: remove it (#5030)
8b975d1
Closes #343, #303
Pinfer was removed recently so this is no longer relevant.
Sorry, something went wrong.
No branches or pull requests
Input:
Output:
Note that the inferred type is missing a 'self'. It is also missing a '*' in front of 'args'.
The text was updated successfully, but these errors were encountered: