New submission from Mohamed Moselhy <loo...@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@python
components: Documentation
files: screen.png
messages: 392271
nosy: docs@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43971>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to