mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 19:28:58 +07:00
GitOrigin-RevId: 8efc65725580510dc3e9a93e1242e1a69032c8f1
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() |