Files
openide/python/testData/completion/onSelf.py
andrey.matveev cad1138e59 PY-53104 Support PEP 673 typing.Self type
GitOrigin-RevId: 8efc65725580510dc3e9a93e1242e1a69032c8f1
2022-10-19 09:45:15 +00:00

9 lines
140 B
Python

from typing import Self
class A:
def foo(self) -> Self:
...
class B(A)
def bar(self) -> Self:
...
B().foo().<caret>