summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-12-07 08:17:50 (GMT)
committerGeorg Brandl <georg@python.org>2007-12-07 08:17:50 (GMT)
commit15c3254958138364b056b98ed67bccef5a77cfeb (patch)
tree82c4d6381ac25c2bf6ad0e1237a4af3dc86a5dbd /Doc/using
parent27423b8bff31763486e1e4830a20302c362d4cf7 (diff)
downloadcpython-15c3254958138364b056b98ed67bccef5a77cfeb.zip
cpython-15c3254958138364b056b98ed67bccef5a77cfeb.tar.gz
cpython-15c3254958138364b056b98ed67bccef5a77cfeb.tar.bz2
No -Q flag anymore in Py3k.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst22
1 files changed, 1 insertions, 21 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 6254f31..384788d 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -21,7 +21,7 @@ Command line
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 @@ Miscellaneous options
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.