From b05d4a0c7b919ff54a41bf52f3240fffbe3ae78b Mon Sep 17 00:00:00 2001 From: Mohamed Moselhy Date: Wed, 28 Apr 2021 20:27:07 -0400 Subject: [PATCH] Added spacing according to PEP 8 See https://www.python.org/dev/peps/pep-0008/#function-annotations --- Doc/library/dataclasses.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/dataclasses.rst b/Doc/library/dataclasses.rst index e4d2b57fd42924..0e8db5003f5fe4 100644 --- a/Doc/library/dataclasses.rst +++ b/Doc/library/dataclasses.rst @@ -33,7 +33,7 @@ using :pep:`526` type annotations. For example this code:: Will add, among other things, a :meth:`__init__` that looks like:: - def __init__(self, name: str, unit_price: float, quantity_on_hand: int=0): + def __init__(self, name: str, unit_price: float, quantity_on_hand: int = 0): self.name = name self.unit_price = unit_price self.quantity_on_hand = quantity_on_hand