mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Document the -J and -X options for CPython. Note that unlike for py2k, we
don't need to document -U becuase it's gone in py3k.
This commit is contained in:
parent
c78b05a9ea
commit
615368fbfa
2 changed files with 17 additions and 2 deletions
|
@ -238,8 +238,6 @@ Miscellaneous options
|
||||||
See also :envvar:`PYTHONUNBUFFERED`.
|
See also :envvar:`PYTHONUNBUFFERED`.
|
||||||
|
|
||||||
|
|
||||||
.. XXX should the -U option be documented?
|
|
||||||
|
|
||||||
.. cmdoption:: -v
|
.. cmdoption:: -v
|
||||||
|
|
||||||
Print a message each time a module is initialized, showing the place
|
Print a message each time a module is initialized, showing the place
|
||||||
|
@ -315,6 +313,20 @@ Miscellaneous options
|
||||||
|
|
||||||
.. note:: The line numbers in error messages will be off by one.
|
.. note:: The line numbers in error messages will be off by one.
|
||||||
|
|
||||||
|
Options you shouldn't use
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
.. cmdoption:: -J
|
||||||
|
|
||||||
|
Reserved for use by Jython_.
|
||||||
|
|
||||||
|
.. _Jython: http://jython.org
|
||||||
|
|
||||||
|
.. cmdoption:: -X
|
||||||
|
|
||||||
|
Reserved for alternative implementations of Python to use for their own
|
||||||
|
purposes.
|
||||||
|
|
||||||
.. _using-on-envvars:
|
.. _using-on-envvars:
|
||||||
|
|
||||||
Environment variables
|
Environment variables
|
||||||
|
|
|
@ -701,6 +701,9 @@ Build
|
||||||
Documentation
|
Documentation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
|
- Updating `Using Python` documentation to include description of CPython's
|
||||||
|
-J and -X options.
|
||||||
|
|
||||||
- Document that importing a module that has None in sys.modules triggers an
|
- Document that importing a module that has None in sys.modules triggers an
|
||||||
ImportError.
|
ImportError.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue