Skip to content

gh-155339: Document the change of behaviour about parsing negative numbers from 3.14 in argparse - #155340

Open
ptim0626 wants to merge 2 commits into
python:mainfrom
ptim0626:docs-clarify-argparse-neg-num
Open

gh-155339: Document the change of behaviour about parsing negative numbers from 3.14 in argparse#155340
ptim0626 wants to merge 2 commits into
python:mainfrom
ptim0626:docs-clarify-argparse-neg-num

Conversation

@ptim0626

@ptim0626 ptim0626 commented Aug 7, 2026

Copy link
Copy Markdown

@read-the-docs-community

read-the-docs-community Bot commented Aug 7, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33962325 | 📁 Comparing 0e0c6b8 against main (7c653e2)

  🔍 Preview build  

2 files changed
± library/argparse.html
± library/test.html

Comment thread Doc/library/argparse.rst Outdated
for more details.

.. versionchanged:: 3.14
Negative numbers in scientific notation (e.g. ``-2.5e-6``), with

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please replace latin abbreviations with their English equivalents, see the style guide for more information.

@ptim0626 ptim0626 Aug 7, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed 'e.g.' all together as spelling out 'for example' in all cases here seems too verbose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants