[docs] [issue27155] '-' sign typo in example
Emanuel Barry
report at bugs.python.org
Sun May 29 15:23:18 EDT 2016
Emanuel Barry added the comment:
A negative return code generally means an error occurred. Negating retcode here is equivalent to abs(retcode), which shows you want a positive integer to appear in the message - it's not an error.
Could replace '-retcode' with 'abs(retcode)' to be more clear. Possibly also add a comment in the code example body to further clarify this.
----------
nosy: +ebarry
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27155>
_______________________________________
More information about the docs
mailing list