From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 9 Jul 2020 12:21:11 +0000 (-0700) Subject: bpo-41199: Docstring convention not followed for dataclasses documentation page ... X-Git-Tag: v3.8.4~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e66f7e102b64da5a6d69b135cf7d82708aca231;p=thirdparty%2FPython%2Fcpython.git bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413) Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75) Co-authored-by: marload --- diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index 10edcac7e8a9..a7fbaaa10670 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