Make sure that Callables are properly represented

See also comment of https://github.com/davidhalter/jedi/pull/1614#issuecomment-647054740
This commit is contained in:
Dave Halter
2020-06-21 01:31:38 +02:00
parent 3488f6b61d
commit a3410f124a
3 changed files with 7 additions and 3 deletions

View File

@@ -417,6 +417,7 @@ type_in_out2()
type_in_out2(float)
def ma(a: typing.Callable[[str], TYPE_VARX]) -> typing.Callable[[str], TYPE_VARX]:
#? typing.Callable()
return a
def mf(s: str) -> int: