mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
10 lines
202 B
Python
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> |