[docs] [issue27155] '-' sign typo in example

R. David Murray report at bugs.python.org
Sun May 29 16:29:48 EDT 2016


R. David Murray added the comment:

The negative return code indicates the child was terminated by a signal, exactly as the example error message says.  The signal number is the positive value of the return code.  It makes more sense to negate it than it does to call abs, since we *know* it is negative.

IMO the example is correct as written.

----------
nosy: +r.david.murray
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the docs mailing list