[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>
<http://bugs.python.org/issue27622>
_______________________________________
More information about the docs
mailing list