Add -m to man page

This commit is contained in:
Andrew M. Kuchling 2004-10-07 12:04:50 +00:00
parent 5e3f9236c7
commit 166e625d6c
1 changed files with 11 additions and 0 deletions

View File

@ -16,6 +16,10 @@ python \- an interpreted, interactive, object-oriented programming language
.B \-i .B \-i
] ]
[ [
.B \-m
.I module-name
]
[
.B \-O .B \-O
] ]
.br .br
@ -107,6 +111,13 @@ 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
.BI "\-m " module-name
Searches
.I sys.path
for the named module and runs the corresponding
.I .py
file as a script.
.TP
.B \-O .B \-O
Turn on basic optimizations. This changes the filename extension for Turn on basic optimizations. This changes the filename extension for
compiled (bytecode) files from compiled (bytecode) files from