mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 17:20:55 +07:00
12 lines
242 B
Python
12 lines
242 B
Python
from typing import Self
|
|
|
|
|
|
class HasNestedFunction:
|
|
x: int = 42
|
|
|
|
def foo(self) -> None:
|
|
def nested(z: int, inner_self: Self) -> Self:
|
|
print(inner_self.<caret>)
|
|
return inner_self
|
|
|
|
nested(42, self) |