Mercurial > cpython-lru_cache-weakref
diff Misc/python.man @ 84224:dfead0696a71 3.3
Add -b and -X options to python man page.
Patch contributed by Corey Brune.
| author | Senthil Kumaran <senthil@uthcode.com> |
|---|---|
| date | Wed, 19 Jun 2013 22:19:46 -0500 |
| parents | c1c632e2560d |
| children | 4b33f74ab0f1 |
line wrap: on
line diff
--- a/Misc/python.man Wed Jun 19 16:58:26 2013 -0400 +++ b/Misc/python.man Wed Jun 19 22:19:46 2013 -0500 @@ -11,6 +11,9 @@ .B \-B ] [ +.B \-b +] +[ .B \-d ] [ @@ -23,14 +26,14 @@ .B \-i ] [ -.B \-m +.B \-m .I module-name ] -[ -.B \-q -] .br [ +.B \-q +] +[ .B \-O ] [ @@ -60,6 +63,10 @@ .B \-x ] [ +[ +.B \-X +.I option +] .B \-? ] .br @@ -105,6 +112,10 @@ .I .py[co] files on import. See also PYTHONDONTWRITEBYTECODE. .TP +.B \-b +Issue warnings about str(bytes_instance), str(bytearray_instance) +and comparing bytes/bytearray with str. (-bb: issue errors) +.TP .BI "\-c " command Specify the command to execute (see next section). This terminates the option list (following options are passed as @@ -243,6 +254,9 @@ field matches the line number, where zero matches all line numbers and is thus equivalent to an omitted line number. .TP +.BI "\-X " option +Set implementation specific option. +.TP .B \-x Skip the first line of the source. This is intended for a DOS specific hack only. Warning: the line numbers in error messages will
