mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-27 21:44:18 +07:00
GitOrigin-RevId: 6a81d2a45d808391413b5c0b52c79f7f6c51dcbb
18 lines
262 B
Python
18 lines
262 B
Python
import attr
|
|
import attrs
|
|
|
|
@attr.s
|
|
class C1:
|
|
x = attr.ib(alias="foo")
|
|
_bar = attr.ib()
|
|
z = attr.ib(alias='baz')
|
|
|
|
C1(<arg1>)
|
|
|
|
@attrs.define
|
|
class C2:
|
|
x = attrs.field(alias="foo")
|
|
_bar = attrs.field()
|
|
z = attrs.field(alias='baz')
|
|
|
|
C2(<arg2>) |