summaryrefslogtreecommitdiffstats
path: root/Misc/python.man
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/python.man')
-rw-r--r--Misc/python.man38
1 files changed, 14 insertions, 24 deletions
diff --git a/Misc/python.man b/Misc/python.man
index 39edbca..20beded 100644
--- a/Misc/python.man
+++ b/Misc/python.man
@@ -26,6 +26,9 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-m
.I module-name
]
+[
+.B \-q
+]
.br
[
.B \-O
@@ -47,9 +50,6 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-S
]
[
-.B \-t
-]
-[
.B \-u
]
.br
@@ -67,9 +67,6 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-x
]
[
-.B \-3
-]
-[
.B \-?
]
.br
@@ -154,6 +151,10 @@ to \fI.pyo\fP. Given twice, causes docstrings to be discarded.
.B \-OO
Discard docstrings in addition to the \fB-O\fP optimizations.
.TP
+.B \-q
+Do not print the version and copyright messages. These messages are
+also suppressed in non-interactive mode.
+.TP
.B \-R
Turn on "hash randomization", so that the hash() values of str, bytes and
datetime objects are "salted" with an unpredictable pseudo-random value.
@@ -185,18 +186,13 @@ and the site-dependent manipulations of
.I sys.path
that it entails.
.TP
-.B \-t
-Issue a warning when a source file mixes tabs and spaces for
-indentation in a way that makes it depend on the worth of a tab
-expressed in spaces. Issue an error when the option is given twice.
-.TP
.B \-u
-Force stdin, stdout and stderr to be totally unbuffered. On systems
-where it matters, also put stdin, stdout and stderr in binary mode.
-Note that there is internal buffering in xreadlines(), readlines() and
-file-object iterators ("for line in sys.stdin") which is not
-influenced by this option. To work around this, you will want to use
-"sys.stdin.readline()" inside a "while 1:" loop.
+Force the binary I/O layers of stdin, stdout and stderr to be unbuffered.
+The text I/O layer will still be line-buffered.
+.\" Note that there is internal buffering in readlines() and
+.\" file-object iterators ("for line in sys.stdin") which is not
+.\" influenced by this option. To work around this, you will want to use
+.\" "sys.stdin.readline()" inside a "while 1:" loop.
.TP
.B \-v
Print a message each time a module is initialized, showing the place
@@ -277,9 +273,6 @@ is thus equivalent to an omitted line number.
Skip the first line of the source. This is intended for a DOS
specific hack only. Warning: the line numbers in error messages will
be off by one!
-.TP
-.B \-3
-Warn about Python 3.x incompatibilities that 2to3 cannot trivially fix.
.SH INTERPRETER INTERFACE
The interpreter interface resembles that of the UNIX shell: when
called with standard input connected to a tty device, it prompts for
@@ -358,9 +351,6 @@ Recommended locations of the directories containing the include files
needed for developing Python extensions and embedding the
interpreter.
.RE
-.IP \fI~/.pythonrc.py\fP
-User-specific initialization file loaded by the \fIuser\fP module;
-not used by default or by most applications.
.SH ENVIRONMENT VARIABLES
.IP PYTHONHOME
Change the location of the standard Python libraries. By default, the
@@ -457,7 +447,7 @@ The Python Software Foundation: http://www.python.org/psf
.SH INTERNET RESOURCES
Main website: http://www.python.org/
.br
-Documentation: http://docs.python.org/
+Documentation: http://docs.python.org/py3k/
.br
Developer resources: http://docs.python.org/devguide/
.br