mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
Also fix PY-55231 Add declarationElement field to callable parameter to resolve parameters to class fields in dataclasses GitOrigin-RevId: ae2703b958061df6f2d74b19920a6e3be2a084f6
11 lines
84 B
Python
11 lines
84 B
Python
import attr
|
|
|
|
|
|
@attr.s
|
|
class C:
|
|
some_attr = attr.ib()
|
|
|
|
|
|
C(some_attr=3)
|
|
# <ref>
|