Skip to content

[3.14] gh-133653: Fix argparse.ArgumentParser with the formatter_class argument (GH-133813) #133941

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2025

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented May 12, 2025

  • Fix TypeError when formatter_class is a custom subclass of
    HelpFormatter.
  • Fix TypeError when formatter_class is not a subclass of
    HelpFormatter and non-standard prefix_char is used.
  • Fix support of colorizing when formatter_class is not a subclass of
    HelpFormatter.
  • Remove the prefix_chars parameter of HelpFormatter.
    (cherry picked from commit 734e15b)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

… argument (pythonGH-133813)

* Fix TypeError when formatter_class is a custom subclass of
  HelpFormatter.
* Fix TypeError when formatter_class is not a subclass of
  HelpFormatter and non-standard prefix_char is used.
* Fix support of colorizing when formatter_class is not a subclass of
  HelpFormatter.
* Remove the prefix_chars parameter of HelpFormatter.
(cherry picked from commit 734e15b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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