Files
openide/python/testData/paramInfo/OverloadsInImportedClass/b.pyi
Semyon Proshev 8ad1350260 Return all members that are found inside a class while resolving class member. It is useful in case of class in pyi-stubs.
Add tests for PyParameterInfoHandler about overloads in imported class.
2017-02-22 15:23:24 +03:00

8 lines
158 B
Python

from typing import overload
class C:
@overload
def foo(self, a: str, b: str) -> str: ...
@overload
def foo(self, a: int, b: int) -> int: ...