[Python-3000-checkins] r59401 - python/branches/py3k/Doc/using/cmdline.rst
georg.brandl
python-3000-checkins at python.org
Fri Dec 7 09:17:51 CET 2007
Author: georg.brandl
Date: Fri Dec 7 09:17:50 2007
New Revision: 59401
Modified:
python/branches/py3k/Doc/using/cmdline.rst
Log:
No -Q flag anymore in Py3k.
Modified: python/branches/py3k/Doc/using/cmdline.rst
==============================================================================
--- python/branches/py3k/Doc/using/cmdline.rst (original)
+++ python/branches/py3k/Doc/using/cmdline.rst Fri Dec 7 09:17:50 2007
@@ -21,7 +21,7 @@
When invoking Python, you may specify any of these options::
- python [-dEiOQStuUvxX?] [-c command | -m module-name | script | - ] [args]
+ python [-dEiOStuUvxX?] [-c command | -m module-name | script | - ] [args]
The most common use case is, of course, a simple invocation of a script::
@@ -171,27 +171,7 @@
Discard docstrings in addition to the :option:`-O` optimizations.
-.. cmdoption:: -Q <arg>
- Division control. The argument must be one of the following:
-
- ``new``
- new division semantics, i.e. division of int/int returns a float (*default*)
- ``old``
- division of int/int returns an int
- ``warn``
- old division semantics with a warning for int/int
- ``warnall``
- old division semantics with a warning for all uses of the division operator
-
- .. seealso::
- :file:`Tools/scripts/fixdiv.py`
- for a use of ``warnall``
-
- :pep:`238` -- Changing the division operator
-
-
-.. cmdoption:: -S
Disable the import of the module :mod:`site` and the site-dependent
manipulations of :data:`sys.path` that it entails.
More information about the Python-3000-checkins
mailing list