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

2021-05-01 Thread Julien Palard
Julien Palard added the comment: Thanks Mohamed for the issue and Terry for fixing it. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

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

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 606bb1c77c66eca081d03374ad4b53d9e603dd9d by Miss Islington (bot) in branch '3.8': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/606bb1c77c66eca081d03374ad4b53d9e603dd9d --

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

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e48405a9be067d50d6d0d83dc22013fc68f15657 by Miss Islington (bot) in branch '3.9': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e48405a9be067d50d6d0d83dc22013fc68f15657 --

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

2021-04-30 Thread miss-islington
Change by miss-islington : -- pull_requests: +24459 pull_request: https://github.com/python/cpython/pull/25766 ___ Python tracker ___

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

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e726a902b7c73a7056b7421d801e47255873 by Mohamed Moselhy in branch 'master': bpo-43971: Add spaces around annotated arg default '=' (GH-25702) https://github.com/python/cpython/commit/e726a902b7c73a7056b7421d801e47255873 --

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

2021-04-30 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 7.0 -> 8.0 pull_requests: +24458 pull_request: https://github.com/python/cpython/pull/25765 ___ Python tracker

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

2021-04-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: >From PEP 8: right:label: str = '' wrong:result: int=0 # No spaces around equality sign current doc: quantity_on_hand: int=0): -- assignee: docs@python -> terry.reedy nosy: +terry.reedy versions: -Python 3.11, Python 3.7

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

2021-04-28 Thread Mohamed Moselhy
Change by Mohamed Moselhy : -- keywords: +patch pull_requests: +24393 stage: -> patch review pull_request: https://github.com/python/cpython/pull/25702 ___ Python tracker ___

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

2021-04-28 Thread Mohamed Moselhy
New submission from Mohamed Moselhy : 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).