[docs] [issue27622] int.to_bytes(): docstring is not precise

Марк Коренберг report at bugs.python.org
Tue Jul 26 02:50:48 EDT 2016


Марк Коренберг added the comment:

The docstring does not say, that positive values also may raise OverflowError if it can not fit into `(byte_count * 8) - 1` bits.

----------

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


More information about the docs mailing list