Files
openide/python/testData/quickdoc/DocOnOverloadDefinition.py
Mikhail Golubev 9550d6f44b PY-29717 Hide other overloads only for an overload definition itself
Otherwise, we end up not displaying overloads in cases when there is no
actual definition to resolve into. First of all, in case of builtin
declarations in typeshed.
2018-06-09 15:59:40 +03:00

12 lines
135 B
Python

from typing import overload
@overload
def foo(param: str) -> str:
pass
@overload
def fo<the_ref>o(param: int) -> int:
pass