mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-19 10:20:56 +07:00
54 lines
741 B
Python
54 lines
741 B
Python
import attr
|
|
|
|
|
|
@attr.s(kw_only=True)
|
|
class A1:
|
|
a = attr.ib(type=int)
|
|
A1(<arg1>)
|
|
|
|
|
|
@attr.s(kw_only=True)
|
|
class Base1:
|
|
a = attr.ib(type=int)
|
|
|
|
@attr.s(kw_only=True)
|
|
class Derived1(Base1):
|
|
b = attr.ib(type=int)
|
|
|
|
Derived1(<arg2>)
|
|
|
|
|
|
@attr.s(kw_only=True)
|
|
class Base2:
|
|
a = attr.ib(type=int)
|
|
|
|
@attr.s(kw_only=True)
|
|
class Derived2(Base2):
|
|
b = attr.ib(type=int, default=1)
|
|
|
|
Derived2(<arg3>)
|
|
|
|
|
|
@attr.s(kw_only=True)
|
|
class Base3:
|
|
a = attr.ib(type=int, default=1)
|
|
|
|
@attr.s(kw_only=True)
|
|
class Derived3(Base3):
|
|
b = attr.ib(type=int)
|
|
|
|
Derived3(<arg4>)
|
|
|
|
|
|
@attr.s(kw_only=True)
|
|
class Base4:
|
|
a = attr.ib(type=int, default=1)
|
|
|
|
@attr.s(kw_only=True)
|
|
class Derived4(Base4):
|
|
b = attr.ib(type=int, default=1)
|
|
|
|
Derived4(<arg5>)
|
|
|
|
|