Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
716ad6b3
Commit
716ad6b3
authored
Dec 07, 2007
by
Georg Brandl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No -Q flag anymore in Py3k.
parent
d21116b7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
21 deletions
+1
-21
Doc/using/cmdline.rst
Doc/using/cmdline.rst
+1
-21
No files found.
Doc/using/cmdline.rst
View file @
716ad6b3
...
...
@@ -21,7 +21,7 @@ Command line
When invoking Python, you may specify any of these options::
python [-dEiO
Q
StuUvxX?] [-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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment