Files
openide/python/testData/paramInfo/TypingCallableWithUnknownParameters.py
Semyon Proshev edb827e655 Resolve callee to its type and then to its callable if possible.
It allows to calculate arguments-to-parameters mapping for types that don't have psi callable (i.e. typing.Callable).
Update PyParameterInfoHandler to work with callable types instead of callables.
2017-06-09 21:29:08 +03:00

10 lines
97 B
Python

from typing import Callable
def f() -> Callable[..., int]:
pass
c = f()
print(c(<arg1>))