mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
#1772833: add -q command line option.
This commit is contained in:
parent
cbd2ab1311
commit
9d8711964f
4 changed files with 27 additions and 3 deletions
|
@ -26,6 +26,9 @@ python \- an interpreted, interactive, object-oriented programming language
|
|||
.B \-m
|
||||
.I module-name
|
||||
]
|
||||
[
|
||||
.B \-q
|
||||
]
|
||||
.br
|
||||
[
|
||||
.B \-O
|
||||
|
@ -145,6 +148,10 @@ to \fI.pyo\fP. Given twice, causes docstrings to be discarded.
|
|||
.B \-O0
|
||||
Discard docstrings in addition to the \fB-O\fP optimizations.
|
||||
.TP
|
||||
.B \-q
|
||||
Do not print the version and copyright messages. These messages are
|
||||
also suppressed in non-interactive mode.
|
||||
.TP
|
||||
.BI "\-Q " argument
|
||||
Division control; see PEP 238. The argument must be one of "old" (the
|
||||
default, int/int and long/long return an int or long), "new" (new
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue