summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authormarload <rladhkstn8@gmail.com>2020-07-09 12:13:47 (GMT)
committerGitHub <noreply@github.com>2020-07-09 12:13:47 (GMT)
commit61bb24a270d15106decb1c7983bf4c2831671a75 (patch)
tree9bf395a94a04f7119da04b5f04d7f1897ddc7b4c /Doc
parentee96f32ca24779656d3c8736d26671fc3689f0a3 (diff)
downloadcpython-61bb24a270d15106decb1c7983bf4c2831671a75.zip
cpython-61bb24a270d15106decb1c7983bf4c2831671a75.tar.gz
cpython-61bb24a270d15106decb1c7983bf4c2831671a75.tar.bz2
bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413)
Automerge-Triggered-By: @ericvsmith
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/dataclasses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index fe63d20..6e74af0 100644
--- a/Doc/library/dataclasses.rst
+++ b/Doc/library/dataclasses.rst
@@ -23,7 +23,7 @@ using :pep:`526` type annotations. For example this code::
@dataclass
class InventoryItem:
- '''Class for keeping track of an item in inventory.'''
+ """Class for keeping track of an item in inventory."""
name: str
unit_price: float
quantity_on_hand: int = 0