mirror of
https://github.com/python/cpython
synced 2026-09-28 01:13:17 +03:00
gh-83648: Support deprecation of options, arguments and subcommands in argparse (GH-114086)
This commit is contained in:
parent
c32bae5290
commit
bb57ffdb38
5 changed files with 262 additions and 27 deletions
|
|
@ -169,6 +169,15 @@ New Modules
|
|||
Improved Modules
|
||||
================
|
||||
|
||||
argparse
|
||||
--------
|
||||
|
||||
* Add parameter *deprecated* in methods
|
||||
:meth:`~argparse.ArgumentParser.add_argument` and :meth:`!add_parser`
|
||||
which allows to deprecate command-line options, positional arguments and
|
||||
subcommands.
|
||||
(Contributed by Serhiy Storchaka in :gh:`83648`).
|
||||
|
||||
array
|
||||
-----
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue