]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91832: Add 'required' attr to argparse.Action repr (GH-91841)
authorAbhigyan Bose <abhigyandeepbose@gmail.com>
Thu, 28 Apr 2022 14:50:27 +0000 (20:20 +0530)
committerGitHub <noreply@github.com>
Thu, 28 Apr 2022 14:50:27 +0000 (07:50 -0700)
commit4ed3900041c688a02dca1eb3323083d720dd0d93
treee28d11b2cf74502aebd9d6c302d41c556b7c4647
parent6dcbc08c95cce4630b3bfb53bdb74e2523795555
gh-91832: Add 'required' attr to argparse.Action repr (GH-91841)

# Adding 'required' to names in Lib.argparse.Action

gh-91832:
Added 'required' to the list `names` in `Lib.argparse.Action`.
Changed constant strings that test the Action object.

Automerge-Triggered-By: GH:merwok
Lib/argparse.py
Lib/test/test_argparse.py
Misc/NEWS.d/next/Library/2022-04-23-03-24-00.gh-issue-91832.TyLi65.rst [new file with mode: 0644]