[docs] [issue23432] Duplicate content in SystemExit documentation

Martin Panter report at bugs.python.org
Thu Feb 12 06:26:20 CET 2015


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 constructor. (Defaults to ``None``.)
'''

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23432>
_______________________________________


More information about the docs mailing list