mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Add tests for PyParameterInfoHandler about overloads in imported module
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import b
|
||||
|
||||
b.foo(<arg1>)
|
||||
@@ -0,0 +1,2 @@
|
||||
def foo(a, b):
|
||||
pass
|
||||
@@ -0,0 +1,7 @@
|
||||
from typing import overload
|
||||
|
||||
@overload
|
||||
def foo(a: str, b: str) -> str: ...
|
||||
|
||||
@overload
|
||||
def foo(a: int, b: int) -> str: ...
|
||||
Reference in New Issue
Block a user