Files
openide/python/testData/quickFixes/PyRemoveParameterQuickFixTest/topLevelOverloadsAndImplementation_after.py
Semyon Proshev 986cfc4921 PY-22971 Fixed: Support @typing.overload in regular Python files, not only in Python stubs
Update PyRemoveParameterQuickFix to remove parameter from overloads.
2017-05-13 00:17:47 +03:00

17 lines
171 B
Python

from typing import overload
@overload
def foo() -> None:
pass
@overload
def foo() -> str:
pass
@overload
def foo() -> str:
pass
def foo():
return None