pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: https://github.com/python/cpython/pull/142477

ssets/copilot-code-review-55cc3e968aadadce.css" /> [3.13] gh-112527: Fix help text for required options in argparse (GH-112528) by serhiy-storchaka · Pull Request #142477 · python/cpython · GitHub
Skip to content

[3.13] gh-112527: Fix help text for required options in argparse (GH-112528)#142477

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
serhiy-storchaka:backport-1adb17b-3.13
Dec 9, 2025
Merged

[3.13] gh-112527: Fix help text for required options in argparse (GH-112528)#142477
serhiy-storchaka merged 1 commit intopython:3.13from
serhiy-storchaka:backport-1adb17b-3.13

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Dec 9, 2025

For optional arguments with required=True, the ArgumentDefaultsHelpFormatter would always add a " (default: None)" to the end of the help text. Since that's a bit misleading, it is removed with this commit. (cherry picked from commit 1adb17b)

pythonGH-112528)

For optional arguments with required=True, the ArgumentDefaultsHelpFormatter
would always add a " (default: None)" to the end of the help text.
Since that's a bit misleading, it is removed with this commit.
(cherry picked from commit 1adb17b)

Co-authored-by: Fabian Henze <32638720+henzef@users.noreply.github.com>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) December 9, 2025 17:14
@serhiy-storchaka serhiy-storchaka merged commit 24036f5 into python:3.13 Dec 9, 2025
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy