mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 18:50:59 +07:00
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.
10 lines
97 B
Python
10 lines
97 B
Python
from typing import Callable
|
|
|
|
|
|
def f() -> Callable[..., int]:
|
|
pass
|
|
|
|
|
|
c = f()
|
|
print(c(<arg1>))
|