summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-05-30 13:41:15 (GMT)
committerGuido van Rossum <guido@python.org>1994-05-30 13:41:15 (GMT)
commit36a373407f705e5df0e444e07cb42160bb2e4077 (patch)
tree61c6360b145e0be4a24d0b414f72cdeef2080c1d /Misc/python.man
parent6f5f8ddeafe29a492cc1a2a59ea84bcd193ec54f (diff)
downloadcpython-36a373407f705e5df0e444e07cb42160bb2e4077.zip
cpython-36a373407f705e5df0e444e07cb42160bb2e4077.tar.gz
cpython-36a373407f705e5df0e444e07cb42160bb2e4077.tar.bz2
Document -s option -- suppress printing of top-level expressions
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man11
1 files changed, 11 insertions, 0 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 7ccc271..483bea1 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -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.