Ezio Melotti added the comment:
Fixed, thanks for the report!
--
assignee: docs@python -> ezio.melotti
nosy: +ezio.melotti
resolution: -> fixed
stage: -> committed/rejected
status: open -> closed
type: behavior -> enhancement
versions: +Python 2.7, Python 3.3, Python 3.4
_
Roundup Robot added the comment:
New changeset 187a678c6033 by Ezio Melotti in branch '2.7':
#18839: document that sys.exit() will not accept a non-integer numeric value as
exit status.
http://hg.python.org/cpython/rev/187a678c6033
New changeset 694e50a79638 by Ezio Melotti in branch '3.3':
#18
New submission from Marco Buttu:
Python 3.3::
>>> import sys
>>> print(sys.exit.__doc__)
exit([status])
Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the status is numeric, it will be used as