[New-bugs-announce] [issue26506] hex() documentation: mention "%x" % int
STINNER Victor
report at bugs.python.org
Mon Mar 7 12:47:03 EST 2016
New submission from STINNER Victor:
I regulary see Python code using hex(value)[2:], whereas "%x" % value does the same thing. We should mention "%x" % value in the hex() doc. Maybe also mention "%#X" % value to format in upper case?
----------
assignee: docs at python
components: Documentation
messages: 261308
nosy: docs at python, haypo
priority: normal
severity: normal
status: open
title: hex() documentation: mention "%x" % int
versions: Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26506>
_______________________________________
More information about the New-bugs-announce
mailing list