[docs] [issue35745] Add import statement in dataclass code snippet
Windson Yang
report at bugs.python.org
Tue Jan 15 10:33:15 EST 2019
New submission from Windson Yang <wiwindson at outlook.com>:
Most of the example in https://docs.python.org/3/library/dataclasses.html miss code like
from dataclasses import dataclass, field
from typing import List
I think we should add this statement in the code snippet.
----------
assignee: docs at python
components: Documentation
messages: 333707
nosy: Windson Yang, docs at python
priority: normal
severity: normal
status: open
title: Add import statement in dataclass code snippet
type: enhancement
versions: Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35745>
_______________________________________
More information about the docs
mailing list