[docs] [issue36661] Missing dataclass decorator import in dataclasses module docs

Eric V. Smith report at bugs.python.org
Fri Apr 19 04:39:32 EDT 2019


Eric V. Smith <eric at trueblade.com> added the comment:

I think adding "from dataclasses import dataclass" in the first example is fine.

There's a similar import in the sqlite3 documentation, just to pick one at random.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36661>
_______________________________________


More information about the docs mailing list