Eric V. Smith added the comment:
This is a duplicate of issue 36661.
--
nosy: +eric.smith
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Missing dataclass decorator import in dataclasses module docs
___
Python t
New submission from Leon Matthews :
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 im