Skip to content

Commit 8a32156

Browse files
sobolevnAlexWaygood
andcommitted
Update Lib/test/dataclass_textanno2.py
Co-authored-by: Alex Waygood <[email protected]>
1 parent 97a3496 commit 8a32156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/dataclass_textanno2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Foo: # matching name with `dataclass_testanno.Foo`
1919

2020
@dataclasses.dataclass
2121
class WithMatchinNameOverride(dataclass_textanno.Bar):
22-
foo: Foo # we override existing `foo: Foo` with
22+
foo: Foo # Existing `foo` annotation should be overridden
2323

2424

2525
@dataclasses.dataclass(init=False)

0 commit comments

Comments
 (0)