We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e79ac4f commit d691a6dCopy full SHA for d691a6d
1 file changed
src/attr/_make.py
@@ -437,11 +437,12 @@ def _transform_attrs(
437
)
438
439
fca = Attribute.from_counting_attr
440
+ no = ClassProps.KeywordOnly.NO
441
own_attrs = [
442
fca(
443
attr_name,
444
ca,
- kw_only is not ClassProps.KeywordOnly.NO,
445
+ kw_only is not no,
446
anns.get(attr_name),
447
448
for attr_name, ca in ca_list
0 commit comments