Skip to content

Commit ce3dd0b

Browse files
committed
Add -b and -X options to python man page.
Patch contributed by Corey Brune.
1 parent fdf9503 commit ce3dd0b

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

Misc/python.man

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ python \- an interpreted, interactive, object-oriented programming language
1111
.B \-B
1212
]
1313
[
14+
.B \-b
15+
]
16+
[
1417
.B \-d
1518
]
1619
[
@@ -23,14 +26,14 @@ python \- an interpreted, interactive, object-oriented programming language
2326
.B \-i
2427
]
2528
[
26-
.B \-m
29+
.B \-m
2730
.I module-name
2831
]
29-
[
30-
.B \-q
31-
]
3232
.br
3333
[
34+
.B \-q
35+
]
36+
[
3437
.B \-O
3538
]
3639
[
@@ -60,6 +63,10 @@ python \- an interpreted, interactive, object-oriented programming language
6063
.B \-x
6164
]
6265
[
66+
[
67+
.B \-X
68+
.I option
69+
]
6370
.B \-?
6471
]
6572
.br
@@ -105,6 +112,10 @@ Don't write
105112
.I .py[co]
106113
files on import. See also PYTHONDONTWRITEBYTECODE.
107114
.TP
115+
.B \-b
116+
Issue warnings about str(bytes_instance), str(bytearray_instance)
117+
and comparing bytes/bytearray with str. (-bb: issue errors)
118+
.TP
108119
.BI "\-c " command
109120
Specify the command to execute (see next section).
110121
This terminates the option list (following options are passed as
@@ -243,6 +254,9 @@ case-sensitive. The
243254
field matches the line number, where zero matches all line numbers and
244255
is thus equivalent to an omitted line number.
245256
.TP
257+
.BI "\-X " option
258+
Set implementation specific option.
259+
.TP
246260
.B \-x
247261
Skip the first line of the source. This is intended for a DOS
248262
specific hack only. Warning: the line numbers in error messages will

0 commit comments

Comments
 (0)