@@ -7,16 +7,24 @@ python \- an interpreted, interactive, object-oriented programming language
77.B \- d
88]
99[
10+ .B \- E
11+ ]
12+ [
13+ .B \- h
14+ ]
15+ [
1016.B \- i
1117]
1218[
1319.B \- O
1420]
15- [
16- .B \- S
21+ .br
22+ [
23+ .B -Q
24+ .I argument
1725]
1826[
19- .B \- E
27+ .B \- S
2028]
2129[
2230.B \- t
@@ -25,13 +33,11 @@ python \- an interpreted, interactive, object-oriented programming language
2533.B \- u
2634]
2735[
28- .B \- v
36+ .B \- U
2937]
30- [
31- .B \- x
32- ]
33- [
34- .B \- h
38+ .br
39+ [
40+ .B \- v
3541]
3642[
3743.B \- V
@@ -40,6 +46,9 @@ python \- an interpreted, interactive, object-oriented programming language
4046.B \- W
4147.I argument
4248]
49+ [
50+ .B \- x
51+ ]
4352.br
4453 [
4554.B \- c
@@ -78,10 +87,22 @@ viewed by running the
7887program.
7988.SH COMMAND LINE OPTIONS
8089.TP
90+ .BI " \- c " command
91+ Specify the command to execute (see next section).
92+ This terminates the option list (following options are passed as
93+ arguments to the command).
94+ .TP
8195.B \- d
8296Turn on parser debugging output (for wizards only, depending on
8397compilation options).
8498.TP
99+ .B \- E
100+ Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
101+ the behavior of the interpreter.
102+ .TP
103+ .B \- h
104+ Prints the usage for the interpreter executable and exits.
105+ .TP
85106.B \- i
86107When a script is passed as first argument or the \fB \- c \fP option is
87108used, enter interactive mode after executing the script or the
@@ -95,17 +116,22 @@ compiled (bytecode) files from
95116.I .pyc
96117to \fI .pyo \fP . Given twice, causes docstrings to be discarded.
97118.TP
119+ .BI " \- Q " argument
120+ Division control; see PEP 238. The argument must be one of "old" (the
121+ default, int/int and long/long return an int or long), "new" (new
122+ division semantics, i.e. int/int and long/long returns a float),
123+ "warn" (old division semantics with a warning for int/int and
124+ long/long), or "warnall" (old division semantics with a warning for
125+ all use of the division operator). For a use of "warnall", see the
126+ Tools/scripts/fixdiv.py script.
127+ .TP
98128.B \- S
99129Disable the import of the module
100130.I site
101131and the site-dependent manipulations of
102132.I sys.path
103133that it entails.
104134.TP
105- .B \- E
106- Ignore environment variables like PYTHONPATH and PYTHONHOME that modify
107- the behavior of the interpreter.
108- .TP
109135.B \- t
110136Issue a warning when a source file mixes tabs and spaces for
111137indentation in a way that makes it depend on the worth of a tab
@@ -121,14 +147,6 @@ twice, print a message for each file that is checked for when
121147searching for a module. Also provides information on module cleanup
122148at exit.
123149.TP
124- .B \- x
125- Skip the first line of the source. This is intended for a DOS
126- specific hack only. Warning: the line numbers in error messages will
127- be off by one!
128- .TP
129- .B \- h
130- Prints the usage for the interpreter executable and exits.
131- .TP
132150.B \- V
133151Prints the Python version number of the executable and exits.
134152.TP
@@ -197,10 +215,10 @@ case-sensitive. The
197215field matches the line number, where zero matches all line numbers and
198216is thus equivalent to an omitted line number.
199217.TP
200- .BI " \- c " command
201- Specify the command to execute (see next section).
202- This terminates the option list (following options are passed as
203- arguments to the command).
218+ .B \- x
219+ Skip the first line of the source. This is intended for a DOS
220+ specific hack only. Warning: the line numbers in error messages will
221+ be off by one!
204222.SH INTERPRETER INTERFACE
205223The interpreter interface resembles that of the UNIX shell: when
206224called with standard input connected to a tty device, it prompts for
0 commit comments