Files
openide/python/testData/quickFixes/PyRemoveParameterQuickFixTest/overloadsAndImplementationInClass_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

18 lines
240 B
Python

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