mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-29 18:17:08 +07:00
GitOrigin-RevId: 41879af7909785ae8a8b1f747aa77e0e3c3d7d9a
8 lines
121 B
Python
8 lines
121 B
Python
# Example from PY-33917
|
|
|
|
class Foo:
|
|
def __init_subclass__(cls, x):
|
|
cls.x = x
|
|
|
|
class Bar(Foo, x = 1):
|
|
pass |