[docs] [issue27622] int.to_bytes(): docstring is not precise
report at bugs.python.org
Tue Jul 26 02:58:46 EDT 2016
Марк Коренберг added the comment:
Well. Phrase `If signed is False and a negative integer is given, an OverflowError is raised.` describe onlyhalf of behaviour. It does not explain behaviour when `signed=True` and value is big enough to trigger exception, but not enough to trigger it when signed=False.
Python tracker <report at bugs.python.org>
More information about the docs