summaryrefslogtreecommitdiff
path: root/Doc/library/dataclasses.rst
diff options
context:
space:
mode:
authormarload <rladhkstn8@gmail.com>2020-07-09 21:13:47 +0900
committerGitHub <noreply@github.com>2020-07-09 05:13:47 -0700
commit61bb24a270d15106decb1c7983bf4c2831671a75 (patch)
tree9bf395a94a04f7119da04b5f04d7f1897ddc7b4c /Doc/library/dataclasses.rst
parentee96f32ca24779656d3c8736d26671fc3689f0a3 (diff)
downloadcpython-git-61bb24a270d15106decb1c7983bf4c2831671a75.tar.gz
bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413)
Automerge-Triggered-By: @ericvsmith
Diffstat (limited to 'Doc/library/dataclasses.rst')
-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 fe63d20671..6e74af062d 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