document how sys.exit treats booleans#153715
Conversation
|
The following commit authors need to sign the Contributor License Agreement: |
Documentation build overview
|
Aniketsy
left a comment
There was a problem hiding this comment.
Thanks ! looks fine 👍
just a suggestion as i felt odd while reading
can we write something after this
If it is an integer, zero
is considered "successful termination" and any nonzero value is considered
"abnormal termination" by shells and the like.
(Since booleans are a subclass of integers, False is equivalent to 0 and True to 1.)
happy to know your thoughts on this :)
|
I do not think it is necessary. Booleans are integers and thus the docs already cover this |
Tbh I wasn't aware of this. |
No description provided.