Commit 4f069636 authored by Guido van Rossum's avatar Guido van Rossum

Document -s option -- suppress printing of top-level expressions

parent 49cfe2dd
...@@ -13,6 +13,9 @@ python \- an interpreted, interactive, object-oriented programming language ...@@ -13,6 +13,9 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-i .B \-i
] ]
[ [
.B \-s
]
[
.B \-u .B \-u
] ]
[ [
...@@ -58,6 +61,11 @@ command. It does not read the $PYTHONSTARTUP file. This can be ...@@ -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 useful to inspect global variables or a stack trace when a script
raises an exception. raises an exception.
.TP .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 .B \-u
Force stdout and stderr to be totally unbuffered. Force stdout and stderr to be totally unbuffered.
.TP .TP
...@@ -173,6 +181,9 @@ the \fB\-d\fP option. ...@@ -173,6 +181,9 @@ the \fB\-d\fP option.
.IP PYTHONINSPECT .IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying If this is set to a non-empty string it is equivalent to specifying
the \fB\-i\fP option. 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 .IP PYTHONUNBUFFERED
If this is set to a non-empty string it is equivalent to specifying If this is set to a non-empty string it is equivalent to specifying
the \fB\-u\fP option. the \fB\-u\fP option.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment