]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41199: Docstring convention not followed for dataclasses documentation page ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2020 12:21:11 +0000 (05:21 -0700)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2020 12:21:11 +0000 (05:21 -0700)
Automerge-Triggered-By: @ericvsmith
(cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75)

Co-authored-by: marload <rladhkstn8@gmail.com>
Doc/library/dataclasses.rst

index 10edcac7e8a9b67fadc0a87a3deea43cb3e379d6..a7fbaaa106707cad39b2ccac2dde93044a2ccdb3 100644 (file)
@@ -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