Thanks to visit codestin.com Credit goes to github.com
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 d2c349b commit 2effef7Copy full SHA for 2effef7
Doc/library/dataclasses.rst
@@ -19,6 +19,8 @@ in :pep:`557`.
19
The member variables to use in these generated methods are defined
20
using :pep:`526` type annotations. For example this code::
21
22
+ from dataclasses import dataclass
23
+
24
@dataclass
25
class InventoryItem:
26
'''Class for keeping track of an item in inventory.'''
0 commit comments