Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36a3734

Browse files
committed
Document -s option -- suppress printing of top-level expressions
1 parent 6f5f8dd commit 36a3734

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Misc/python.man

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ python \- an interpreted, interactive, object-oriented programming language
1313
.B \-i
1414
]
1515
[
16+
.B \-s
17+
]
18+
[
1619
.B \-u
1720
]
1821
[
@@ -58,6 +61,11 @@ command. It does not read the $PYTHONSTARTUP file. This can be
5861
useful to inspect global variables or a stack trace when a script
5962
raises an exception.
6063
.TP
64+
.B \-s
65+
Suppresses the automatic printing of expressions entered in
66+
interactive mode (useful when input is actually generated e.g. by
67+
Emacs).
68+
.TP
6169
.B \-u
6270
Force stdout and stderr to be totally unbuffered.
6371
.TP
@@ -173,6 +181,9 @@ the \fB\-d\fP option.
173181
.IP PYTHONINSPECT
174182
If this is set to a non-empty string it is equivalent to specifying
175183
the \fB\-i\fP option.
184+
.IP PYTHONSUPPRESS
185+
If this is set to a non-empty string it is equivalent to specifying
186+
the \fB\-s\fP option.
176187
.IP PYTHONUNBUFFERED
177188
If this is set to a non-empty string it is equivalent to specifying
178189
the \fB\-u\fP option.

0 commit comments

Comments
 (0)