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

10 lines
202 B
Python

from typing import Self
class OuterClass:
class A:
def foo(self) -> list[Self]:
...
class B(A)
def bar(self) -> Self:
...
OuterClass.B().foo()[0].<caret>