summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/c-api/init_config.rst10
-rw-r--r--Doc/using/cmdline.rst11
2 files changed, 0 insertions, 21 deletions
diff --git a/Doc/c-api/init_config.rst b/Doc/c-api/init_config.rst
index b7298ba825..9b0728d962 100644
--- a/Doc/c-api/init_config.rst
+++ b/Doc/c-api/init_config.rst
@@ -695,16 +695,6 @@ PyConfig
:data:`sys._xoptions`.
- .. c:member:: int _use_peg_parser
-
- Enable PEG parser? Default: 1.
-
- Set to 0 by :option:`-X oldparser <-X>` and :envvar:`PYTHONOLDPARSER`.
-
- See also :pep:`617`.
-
- .. deprecated-removed:: 3.9 3.10
-
If ``parse_argv`` is non-zero, ``argv`` arguments are parsed the same
way the regular Python parses command line arguments, and Python
arguments are stripped from ``argv``: see :ref:`Command Line Arguments
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index f91ab020da..7aacd8ffe8 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -426,8 +426,6 @@ Miscellaneous options
defines the following possible values:
* ``-X faulthandler`` to enable :mod:`faulthandler`;
- * ``-X oldparser``: enable the traditional LL(1) parser. See also
- :envvar:`PYTHONOLDPARSER` and :pep:`617`.
* ``-X showrefcount`` to output the total reference count and number of used
memory blocks when the program finishes or after each statement in the
interactive interpreter. This only works on debug builds.
@@ -587,15 +585,6 @@ conflict.
:option:`-d` multiple times.
-.. envvar:: PYTHONOLDPARSER
-
- If this is set to a non-empty string, enable the traditional LL(1) parser.
-
- See also the :option:`-X` ``oldparser`` option and :pep:`617`.
-
- .. deprecated-removed:: 3.9 3.10
-
-
.. envvar:: PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying the