gh-148468: Accept string-like help proxies in argparse#150276
gh-148468: Accept string-like help proxies in argparse#150276RaghunandanKumar wants to merge 1 commit into
Conversation
savannahostrowski
left a comment
There was a problem hiding this comment.
Thanks for the PR! As mentioned in my comment on the issue, the str() coercion can go at the re.sub call site rather than at the top of _expand_help. Also, please scope the change down. The _format_action changes and the broader test expansion aren't necessary for this fix.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Summary
argparsedescriptions, epilogs, and argument help textstrobjectsIssue
Testing
./python.exe -m test test_argparseLazyStrproxy andparser.format_help()