GH-133336: Remove reserved `-J` flag for Jython (#133444)

This commit is contained in:
Adam Turner 2025-05-05 16:09:19 +01:00 committed by GitHub
parent c336f1c312
commit 4c56563f7a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 16 additions and 18 deletions

View file

@ -670,6 +670,13 @@ Miscellaneous options
.. versionchanged:: 3.10
Removed the ``-X oldparser`` option.
.. versionremoved:: next
:option:`!-J` is no longer reserved for use by Jython_,
and now has no special meaning.
.. _Jython: https://www.jython.org/
.. _using-on-controlling-color:
Controlling color
@ -694,15 +701,6 @@ output. To control the color output only in the Python interpreter, the
precedence over ``NO_COLOR``, which in turn takes precedence over
``FORCE_COLOR``.
Options you shouldn't use
~~~~~~~~~~~~~~~~~~~~~~~~~
.. option:: -J
Reserved for use by Jython_.
.. _Jython: https://www.jython.org/
.. _using-on-envvars: