Message355289
In the code sample documentation for other modules we show the necessary imports, we should do the same for dataclasses.
For example, the very first example uses the `dataclass` decorator without importing it first. It should read::
from dataclasses import dataclass
@dataclass
class InventoryItem:
... |
|
Date |
User |
Action |
Args |
2019-10-24 07:34:34 | Leon Matthews | set | recipients:
+ Leon Matthews, docs@python |
2019-10-24 07:34:34 | Leon Matthews | set | messageid: <1571902474.91.0.395635401957.issue38574@roundup.psfhosted.org> |
2019-10-24 07:34:34 | Leon Matthews | link | issue38574 messages |
2019-10-24 07:34:34 | Leon Matthews | create | |
|