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

Eric V. Smith report at bugs.python.org
Sat Apr 20 05:18:43 EDT 2019


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

I won't discourage anyone from making such changes, but I don't think it's a real problem. I haven't seen that people are confused about needing to import the module being discussed in the documentation. I don't think there's any expectation that the code in the documentation is actually executable as-is. They're not doctests, after all.

----------

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


More information about the docs mailing list