]> granicus.if.org Git - python/commitdiff
No -Q flag anymore in Py3k.
authorGeorg Brandl <georg@python.org>
Fri, 7 Dec 2007 08:17:50 +0000 (08:17 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 7 Dec 2007 08:17:50 +0000 (08:17 +0000)
Doc/using/cmdline.rst

index 6254f310f7449c930442c6b882855d46ac3e0d40..384788d6600959a26913f9c774dd7fab2559b130 100644 (file)
@@ -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.