Skip to content

Commit 5e1ec1d

Browse files
committed
Sort argparse alphabetically
1 parent 834ba5a commit 5e1ec1d

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

Doc/deprecations/pending-removal-in-future.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@ Pending removal in future versions
44
The following APIs will be removed in the future,
55
although there is currently no date scheduled for their removal.
66

7+
* :mod:`argparse`:
8+
9+
* Nesting argument groups and nesting mutually exclusive
10+
groups are deprecated.
11+
* Passing the undocumented keyword argument *prefix_chars* to
12+
:meth:`~argparse.ArgumentParser.add_argument_group` is now
13+
deprecated.
14+
* The :class:`argparse.FileType` type converter is deprecated.
15+
16+
* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
17+
718
* :mod:`builtins`:
819

920
* ``bool(NotImplemented)``.
@@ -33,17 +44,6 @@ although there is currently no date scheduled for their removal.
3344
as a single positional argument.
3445
(Contributed by Serhiy Storchaka in :gh:`109218`.)
3546

36-
* :mod:`argparse`:
37-
38-
* Nesting argument groups and nesting mutually exclusive
39-
groups are deprecated.
40-
* Passing the undocumented keyword argument *prefix_chars* to
41-
:meth:`~argparse.ArgumentParser.add_argument_group` is now
42-
deprecated.
43-
* The :class:`argparse.FileType` type converter is deprecated.
44-
45-
* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
46-
4747
* :mod:`calendar`: ``calendar.January`` and ``calendar.February`` constants are
4848
deprecated and replaced by :data:`calendar.JANUARY` and
4949
:data:`calendar.FEBRUARY`.

Doc/whatsnew/3.14.rst

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,15 @@ Deprecated
447447
==========
448448

449449
* :mod:`argparse`:
450-
Passing the undocumented keyword argument *prefix_chars* to
451-
:meth:`~argparse.ArgumentParser.add_argument_group` is now
452-
deprecated.
453-
(Contributed by Savannah Ostrowski in :gh:`125563`.)
450+
451+
* Passing the undocumented keyword argument *prefix_chars* to
452+
:meth:`~argparse.ArgumentParser.add_argument_group` is now
453+
deprecated.
454+
(Contributed by Savannah Ostrowski in :gh:`125563`.)
455+
* Deprecated the :class:`argparse.FileType` type converter.
456+
Anything with resource management should be done downstream after the
457+
arguments are parsed.
458+
(Contributed by Serhiy Storchaka in :gh:`58032`.)
454459

455460
* :mod:`asyncio`:
456461
:func:`!asyncio.iscoroutinefunction` is deprecated
@@ -464,12 +469,6 @@ Deprecated
464469
as a single positional argument.
465470
(Contributed by Serhiy Storchaka in :gh:`109218`.)
466471

467-
* :mod:`argparse`:
468-
Deprecated the :class:`argparse.FileType` type converter.
469-
Anything with resource management should be done downstream after the
470-
arguments are parsed.
471-
(Contributed by Serhiy Storchaka in :gh:`58032`.)
472-
473472
* :mod:`multiprocessing` and :mod:`concurrent.futures`:
474473
The default start method (see :ref:`multiprocessing-start-methods`) changed
475474
away from *fork* to *forkserver* on platforms where it was not already

0 commit comments

Comments
 (0)