diff options
author | Abhigyan Bose <abhigyandeepbose@gmail.com> | 2022-04-28 14:50:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-28 14:50:27 (GMT) |
commit | 4ed3900041c688a02dca1eb3323083d720dd0d93 (patch) | |
tree | e28d11b2cf74502aebd9d6c302d41c556b7c4647 /Misc/NEWS.d | |
parent | 6dcbc08c95cce4630b3bfb53bdb74e2523795555 (diff) | |
download | cpython-4ed3900041c688a02dca1eb3323083d720dd0d93.zip cpython-4ed3900041c688a02dca1eb3323083d720dd0d93.tar.gz cpython-4ed3900041c688a02dca1eb3323083d720dd0d93.tar.bz2 |
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
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Library/2022-04-23-03-24-00.gh-issue-91832.TyLi65.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-04-23-03-24-00.gh-issue-91832.TyLi65.rst b/Misc/NEWS.d/next/Library/2022-04-23-03-24-00.gh-issue-91832.TyLi65.rst new file mode 100644 index 0000000..0ebf773 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2022-04-23-03-24-00.gh-issue-91832.TyLi65.rst @@ -0,0 +1 @@ +Add ``required`` attribute to :class:`argparse.Action` repr output. |