From: marload Date: Thu, 9 Jul 2020 12:13:47 +0000 (+0900) Subject: bpo-41199: Docstring convention not followed for dataclasses documentation page ... X-Git-Tag: v3.10.0a1~417 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=61bb24a270d15106decb1c7983bf4c2831671a75;p=thirdparty%2FPython%2Fcpython.git bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413) Automerge-Triggered-By: @ericvsmith --- diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index fe63d20671dd..6e74af062d9e 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