Skip to content

Commit 1e66f7e

Browse files
bpo-41199: Docstring convention not followed for dataclasses documentation page (GH-21413)
Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a) Co-authored-by: marload <[email protected]>
1 parent 54babbe commit 1e66f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/dataclasses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ using :pep:`526` type annotations. For example this code::
2323

2424
@dataclass
2525
class InventoryItem:
26-
'''Class for keeping track of an item in inventory.'''
26+
"""Class for keeping track of an item in inventory."""
2727
name: str
2828
unit_price: float
2929
quantity_on_hand: int = 0

0 commit comments

Comments
 (0)