[issue43971] documentation: no spacing around default args in annotated function

Mohamed Moselhy report at bugs.python.org
Wed Apr 28 20:34:52 EDT 2021


New submission from Mohamed Moselhy <look4d at gmail.com>:

See https://www.python.org/dev/peps/pep-0008/#function-annotations

The first section of https://docs.python.org/3/library/dataclasses.html shows quantity_on_hand: int=0, when there should be spacing around the '=' according to PEP 8 (see link above).

----------
assignee: docs at python
components: Documentation
files: screen.png
messages: 392271
nosy: docs at python, eric.araujo, ezio.melotti, mdk, moselhy, willingc
priority: normal
severity: normal
status: open
title: documentation: no spacing around default args in annotated function
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49998/screen.png

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43971>
_______________________________________


More information about the Python-bugs-list mailing list