[Python-checkins] bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413)

marload webhook-mailer at python.org
Thu Jul 9 08:13:52 EDT 2020


https://github.com/python/cpython/commit/61bb24a270d15106decb1c7983bf4c2831671a75
commit: 61bb24a270d15106decb1c7983bf4c2831671a75
branch: master
author: marload <rladhkstn8 at gmail.com>
committer: GitHub <noreply at github.com>
date: 2020-07-09T05:13:47-07:00
summary:

bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413)



Automerge-Triggered-By: @ericvsmith

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index fe63d20671dd7..6e74af062d9e7 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



More information about the Python-checkins mailing list