File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ contains a rich set of fixers that will handle almost all code. 2to3 supporting
11
11
library :mod: `lib2to3 ` is, however, a flexible and generic library, so it is
12
12
possible to write your own fixers for 2to3.
13
13
14
+ .. deprecated-removed :: 3.11 3.13
15
+ The ``lib2to3 `` module was marked pending for deprecation in Python 3.9
16
+ (raising :exc: `PendingDeprecationWarning ` on import) and fully deprecated
17
+ in Python 3.11 (raising :exc: `DeprecationWarning `). The ``2to3 `` tool is
18
+ part of that. It will be removed in Python 3.13.
14
19
15
20
.. _2to3-using :
16
21
Original file line number Diff line number Diff line change @@ -308,9 +308,9 @@ CPython bytecode changes
308
308
Deprecated
309
309
==========
310
310
311
- * The :mod: `lib2to3 ` package is now deprecated and may not be able to parse
312
- Python 3.10 or newer. See the :pep: `617 ` (New PEG parser for CPython).
313
- (Contributed by Victor Stinner in :issue: `40360 `.)
311
+ * The :mod: `lib2to3 ` package and `` 2to3 `` tool are now deprecated and may not
312
+ be able to parse Python 3.10 or newer. See the :pep: `617 ` (New PEG parser for
313
+ CPython). (Contributed by Victor Stinner in :issue: `40360 `.)
314
314
315
315
* :class: `webbrowser.MacOSX ` is deprecated and will be removed in Python 3.13.
316
316
It is untested and undocumented and also not used by webbrowser itself.
You can’t perform that action at this time.
0 commit comments