mirror of https://github.com/python/cpython
Document -s option -- suppress printing of top-level expressions
This commit is contained in:
parent
6f5f8ddeaf
commit
36a373407f
|
@ -13,6 +13,9 @@ python \- an interpreted, interactive, object-oriented programming language
|
|||
.B \-i
|
||||
]
|
||||
[
|
||||
.B \-s
|
||||
]
|
||||
[
|
||||
.B \-u
|
||||
]
|
||||
[
|
||||
|
@ -58,6 +61,11 @@ command. It does not read the $PYTHONSTARTUP file. This can be
|
|||
useful to inspect global variables or a stack trace when a script
|
||||
raises an exception.
|
||||
.TP
|
||||
.B \-s
|
||||
Suppresses the automatic printing of expressions entered in
|
||||
interactive mode (useful when input is actually generated e.g. by
|
||||
Emacs).
|
||||
.TP
|
||||
.B \-u
|
||||
Force stdout and stderr to be totally unbuffered.
|
||||
.TP
|
||||
|
@ -173,6 +181,9 @@ the \fB\-d\fP option.
|
|||
.IP PYTHONINSPECT
|
||||
If this is set to a non-empty string it is equivalent to specifying
|
||||
the \fB\-i\fP option.
|
||||
.IP PYTHONSUPPRESS
|
||||
If this is set to a non-empty string it is equivalent to specifying
|
||||
the \fB\-s\fP option.
|
||||
.IP PYTHONUNBUFFERED
|
||||
If this is set to a non-empty string it is equivalent to specifying
|
||||
the \fB\-u\fP option.
|
||||
|
|
Loading…
Reference in New Issue