mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
gh-125542: Deprecate prefix_chars in ArgumentParser.add_argument_group() (GH-125563)
This commit is contained in:
parent
624be8699a
commit
7b04496e5c
6 changed files with 52 additions and 2 deletions
|
|
@ -4,8 +4,13 @@ Pending removal in future versions
|
|||
The following APIs will be removed in the future,
|
||||
although there is currently no date scheduled for their removal.
|
||||
|
||||
* :mod:`argparse`: Nesting argument groups and nesting mutually exclusive
|
||||
groups are deprecated.
|
||||
* :mod:`argparse`:
|
||||
|
||||
* Nesting argument groups and nesting mutually exclusive
|
||||
groups are deprecated.
|
||||
* Passing the undocumented keyword argument *prefix_chars* to
|
||||
:meth:`~argparse.ArgumentParser.add_argument_group` is now
|
||||
deprecated.
|
||||
|
||||
* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
|
||||
|
||||
|
|
|
|||
|
|
@ -1894,6 +1894,10 @@ Argument groups
|
|||
The function exists on the API by accident through inheritance and
|
||||
will be removed in the future.
|
||||
|
||||
.. deprecated:: 3.14
|
||||
Passing prefix_chars_ to :meth:`add_argument_group`
|
||||
is now deprecated.
|
||||
|
||||
|
||||
Mutual exclusion
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
|
|
|||
|
|
@ -428,6 +428,12 @@ asyncio
|
|||
Deprecated
|
||||
==========
|
||||
|
||||
* :mod:`argparse`:
|
||||
Passing the undocumented keyword argument *prefix_chars* to
|
||||
:meth:`~argparse.ArgumentParser.add_argument_group` is now
|
||||
deprecated.
|
||||
(Contributed by Savannah Ostrowski in :gh:`125563`.)
|
||||
|
||||
* :mod:`asyncio`:
|
||||
:func:`!asyncio.iscoroutinefunction` is deprecated
|
||||
and will be removed in Python 3.16,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue