[docs] [issue29329] Incorrect documentation for custom `hex()` support on Python 2

Ammar Askar report at bugs.python.org
Tue Jan 31 11:15:23 EST 2017


Ammar Askar added the comment:

Attached patch changes the py2.7 documentation to point out that the method name is __hex__ and its return type is a string.

----------
keywords: +patch
nosy: +ammar2
Added file: http://bugs.python.org/file46466/hex_method.diff

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


More information about the docs mailing list