mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-28 17:09:38 +07:00
Update RenamePyFunctionProcessor to rename implementation and all overloads.
14 lines
224 B
Python
14 lines
224 B
Python
from typing import overload
|
|
|
|
|
|
class A:
|
|
@overload
|
|
def foo(self, value: str) -> None:
|
|
pass
|
|
|
|
@overload
|
|
def foo(self, value: int) -> str:
|
|
pass
|
|
|
|
def foo<caret>(self, value):
|
|
return None |