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
See #17425 , in particular this comment #17425 (comment) from ilevkivskyi
[case testFunctoolsPartialHigherOrder] from functools import partial from typing import Callable def fn(a: int, b: str, c: bytes) -> int: ... def callback1(fn: Callable[[str, bytes], int]) -> None: ... def callback2(fn: Callable[[str, int], int]) -> None: ... callback1(partial(fn, 1)) # TODO: false negative callback2(partial(fn, 1)) [builtins fixtures/tuple.pyi]
The text was updated successfully, but these errors were encountered:
functools.partial()
Callable[]
No branches or pull requests
See #17425 , in particular this comment #17425 (comment) from ilevkivskyi
The text was updated successfully, but these errors were encountered: