[docs] [issue35745] Add import statement in dataclass code snippet

Windson Yang report at bugs.python.org
Tue Jan 15 10:36:54 EST 2019


Windson Yang <wiwindson at outlook.com> added the comment:

I'm not sure if we should put 

from dataclasses import dataclass

everywhere or we should put it just in the first example as I did in the PR.

----------

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


More information about the docs mailing list