Skip to content

Commit c3ceb58

Browse files
authored
Fix the Kaboom class variable annotation
1 parent eb0611f commit c3ceb58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_dataclasses/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1504,7 +1504,7 @@ def __get__(self, inst, owner):
15041504

15051505
@dataclass
15061506
class C:
1507-
kaboom: ClassVar[None] = Kaboom()
1507+
kaboom: ClassVar[Kaboom] = Kaboom()
15081508

15091509
self.assertIsInstance(C.__dict__["kaboom"], Kaboom)
15101510

0 commit comments

Comments
 (0)