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

Karthikeyan Singaravelan report at bugs.python.org
Fri Apr 19 01:26:25 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

I think the import is implied in the example since the docs page is for dataclasses module but adding an explicit import to InventoryItem at the top won't hurt too.

----------
nosy: +eric.smith, xtreak
title: Missing import in docs -> Missing dataclass decorator import in dataclasses module docs
versions: +Python 3.8

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


More information about the docs mailing list