[Python-Dev] [Python-checkins] cpython (3.3): Add -b and -X options to python man page.
Maciej Fijalkowski
fijall at gmail.com
Sun Jun 23 17:40:13 CEST 2013
On Thu, Jun 20, 2013 at 3:36 PM, Brett Cannon <brett at python.org> wrote:
>
>
>
> On Wed, Jun 19, 2013 at 11:20 PM, senthil.kumaran
> <python-checkins at python.org> wrote:
>>
>> http://hg.python.org/cpython/rev/dfead0696a71
>> changeset: 84224:dfead0696a71
>> branch: 3.3
>> parent: 84221:0113247f894b
>> user: Senthil Kumaran <senthil at uthcode.com>
>> date: Wed Jun 19 22:19:46 2013 -0500
>> summary:
>> Add -b and -X options to python man page.
>> Patch contributed by Corey Brune.
>>
>> files:
>> Misc/python.man | 22 ++++++++++++++++++----
>> 1 files changed, 18 insertions(+), 4 deletions(-)
>>
>>
>> diff --git a/Misc/python.man b/Misc/python.man
>> --- a/Misc/python.man
>> +++ b/Misc/python.man
>> @@ -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.
>
>
> Should probably be "Set the implementation-specific option."
Is there anyone respecting this notation? (I know pypy does not, it
uses --jit and stuff)
>
>>
>> +.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
>>
>> --
>> Repository URL: http://hg.python.org/cpython
>>
>> _______________________________________________
>> Python-checkins mailing list
>> Python-checkins at python.org
>> http://mail.python.org/mailman/listinfo/python-checkins
>>
>
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> http://mail.python.org/mailman/options/python-dev/fijall%40gmail.com
>
More information about the Python-Dev
mailing list