mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
10 lines
159 B
Python
10 lines
159 B
Python
from typing_extensions import Self
|
|
|
|
class A:
|
|
def foo(self) -> Self:
|
|
...
|
|
class B(A):
|
|
def bar(self) -> Self:
|
|
...
|
|
b = B()
|
|
b.f<the_ref>oo() |