diff options
author | Guido van Rossum <guido@python.org> | 1994-05-03 14:15:32 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-05-03 14:15:32 (GMT) |
commit | ef5bca380c9c888a05f62aa197f88e52ff087860 (patch) | |
tree | b418f202a81cb42d39a95b77e9c10866416b2157 /Misc/python.man | |
parent | 70dc86f52abccf1ea29466c3e55dbb85dd4d1e9d (diff) | |
download | cpython-ef5bca380c9c888a05f62aa197f88e52ff087860.zip cpython-ef5bca380c9c888a05f62aa197f88e52ff087860.tar.gz cpython-ef5bca380c9c888a05f62aa197f88e52ff087860.tar.bz2 |
Documented -u (unbuffered), undocumented -k (killprint)
Diffstat (limited to 'Misc/python.man')
-rw-r--r-- | Misc/python.man | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/Misc/python.man b/Misc/python.man index 052240e..7ccc271 100644 --- a/Misc/python.man +++ b/Misc/python.man @@ -1,4 +1,4 @@ -.TH PYTHON "3 January 1994" +.TH PYTHON "3 May 1994" .SH NAME python \- an interpreted, interactive, object-oriented programming language .SH SYNOPSIS @@ -13,7 +13,7 @@ python \- an interpreted, interactive, object-oriented programming language .B \-i ] [ -.B \-k +.B \-u ] [ .B \-v @@ -58,19 +58,8 @@ 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 \-k -This hack, eh, feature is intended to help you to find expression -statements that print a value. Although a feature of the language, it -can sometimes be annoying that when a function is called which returns -a value that is not -.IR None , -the value is printed to standard output, and it is not always easy to -find which statement is the cause of an unwanted `1', for instance. -When this option is set, if an expression statement prints its value, -the exception -.I RuntimeError -is raised. The resulting stack trace will help you to track down the -culprit. +.B \-u +Force stdout and stderr to be totally unbuffered. .TP .B \-v Print a message each time a module is initialized, showing the place @@ -184,9 +173,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 PYTHONKILLPRINT +.IP PYTHONUNBUFFERED If this is set to a non-empty string it is equivalent to specifying -the \fB\-k\fP option. +the \fB\-u\fP option. .IP PYTHONVERBOSE If this is set to a non-empty string it is equivalent to specifying the \fB\-v\fP option. |