[issue23432] Duplicate content in SystemExit documentation

2015-03-10 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the review, Martin. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue23432] Duplicate content in SystemExit documentation

2015-03-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 64c0b4aead0f by Berker Peksag in branch '3.4': Issue #23432: Remove duplicate content from SystemExit docs. https://hg.python.org/cpython/rev/64c0b4aead0f New changeset 5163fb8dc61f by Berker Peksag in branch 'default': Issue #23432: Remove duplicat

[issue23432] Duplicate content in SystemExit documentation

2015-03-06 Thread Martin Panter
Martin Panter added the comment: New patch looks fine -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23432] Duplicate content in SystemExit documentation

2015-03-06 Thread Berker Peksag
Berker Peksag added the comment: Thank you for your suggestion, Martin. Here is an updated patch. -- Added file: http://bugs.python.org/file38365/systemexit_v2.diff ___ Python tracker __

[issue23432] Duplicate content in SystemExit documentation

2015-02-11 Thread Martin Panter
Martin Panter added the comment: How about this: ''' The constructor accepts the same optional argument passed to :func:`sys.exit`. If the value is an integer, it specifies the system exit status . . . . . . .. attribute:: code The exit status or error message that is passed to the const

[issue23432] Duplicate content in SystemExit documentation

2015-02-11 Thread Berker Peksag
Berker Peksag added the comment: Good catch, thanks! Do you have better wording for that part of the patch? -- ___ Python tracker ___

[issue23432] Duplicate content in SystemExit documentation

2015-02-10 Thread Martin Panter
Martin Panter added the comment: The new text changes “the associated value” to “the value passed to [the] :func:`sys.exit` call”. There seems to be a trend in removing documentation of exception constructor arguments; is this intentional? In my code I tend to raise SystemExit() directly rathe

[issue23432] Duplicate content in SystemExit documentation

2015-02-10 Thread Berker Peksag
New submission from Berker Peksag: >From https://docs.python.org/3/library/exceptions.html#SystemExit Also, this exception derives directly from BaseException and not Exception, since it is not technically an error. and The exception inherits from BaseException instead of Exception so