mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
9 lines
149 B
Python
9 lines
149 B
Python
from typing import Self
|
|
|
|
class A:
|
|
def foo(self) -> list[Self]:
|
|
...
|
|
class B(A)
|
|
def bar(self) -> Self:
|
|
...
|
|
B().foo()[0].<caret> |