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

Automerge-Triggered-By: @ericvsmith
This commit is contained in:
marload 2020-07-09 21:13:47 +09:00 committed by GitHub
parent ee96f32ca2
commit 61bb24a270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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