Files
Fulfillment-Backend/test.py
2024-07-20 09:32:22 +03:00

15 lines
138 B
Python

from typing import Self
class A:
@classmethod
def test(cls) -> Self:
return cls()
class B(A):
pass
a = B.test()