Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01193ed

Browse files
hugovkebonnal
authored andcommitted
pythongh-58032: Docs: Sort argparse alphabetically (pythonGH-125871)
Sort argparse alphabetically
1 parent50e56b2 commit01193ed

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
@@ -464,10 +464,15 @@ Deprecated
464464
==========
465465

466466
*:mod:`argparse`:
467-
Passing the undocumented keyword argument *prefix_chars* to
468-
:meth:`~argparse.ArgumentParser.add_argument_group` is now
469-
deprecated.
470-
(Contributed by Savannah Ostrowski in:gh:`125563`.)
467+
468+
* Passing the undocumented keyword argument *prefix_chars* to
469+
:meth:`~argparse.ArgumentParser.add_argument_group` is now
470+
deprecated.
471+
(Contributed by Savannah Ostrowski in:gh:`125563`.)
472+
* Deprecated the:class:`argparse.FileType` type converter.
473+
Anything with resource management should be done downstream after the
474+
arguments are parsed.
475+
(Contributed by Serhiy Storchaka in:gh:`58032`.)
471476

472477
*:mod:`asyncio`:
473478
:func:`!asyncio.iscoroutinefunction` is deprecated
@@ -481,12 +486,6 @@ Deprecated
481486
as a single positional argument.
482487
(Contributed by Serhiy Storchaka in:gh:`109218`.)
483488

484-
*:mod:`argparse`:
485-
Deprecated the:class:`argparse.FileType` type converter.
486-
Anything with resource management should be done downstream after the
487-
arguments are parsed.
488-
(Contributed by Serhiy Storchaka in:gh:`58032`.)
489-
490489
*:mod:`multiprocessing` and:mod:`concurrent.futures`:
491490
The default start method (see:ref:`multiprocessing-start-methods`) changed
492491
away from *fork* to *forkserver* on platforms where it was not already

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp