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

Miss Islington (bot) webhook-mailer at python.org
Thu Jul 9 08:21:16 EDT 2020


https://github.com/python/cpython/commit/1e66f7e102b64da5a6d69b135cf7d82708aca231
commit: 1e66f7e102b64da5a6d69b135cf7d82708aca231
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-07-09T05:21:11-07:00
summary:

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 <rladhkstn8 at gmail.com>

files:
M Doc/library/dataclasses.rst

diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst
index 10edcac7e8a9b..a7fbaaa106707 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