mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 04:37:32 +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
87 B
Python
10 lines
87 B
Python
from typing import Callable
|
|
|
|
|
|
def f() -> Callable:
|
|
pass
|
|
|
|
|
|
c = f()
|
|
print(c(<arg1>))
|