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 636e9dd commit 98308dbCopy full SHA for 98308db
Doc/tutorial/classes.rst
@@ -741,7 +741,7 @@ Sometimes it is useful to have a data type similar to the Pascal "record" or C
741
"struct", bundling together a few named data items. The idiomatic approach
742
is to use :mod:`dataclasses` for this purpose::
743
744
- from dataclasses import dataclasses
+ from dataclasses import dataclass
745
746
@dataclass
747
class Employee:
0 commit comments