diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-07-09 12:20:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-09 12:20:26 (GMT) |
commit | b4beda1a865972dc6477fd84b1a96ff5ccbfb45a (patch) | |
tree | 406f7da1181969cc802bd9dc066272234ea0a974 | |
parent | 90584c02b4dcfc087bee5e4131b7ba72b669d58a (diff) | |
download | cpython-b4beda1a865972dc6477fd84b1a96ff5ccbfb45a.zip cpython-b4beda1a865972dc6477fd84b1a96ff5ccbfb45a.tar.gz cpython-b4beda1a865972dc6477fd84b1a96ff5ccbfb45a.tar.bz2 |
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@gmail.com>
-rw-r--r-- | Doc/library/dataclasses.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index fe63d20..6e74af0 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 |