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@python
components: Documentation
messages: 261308
nosy: docs@python, haypo
priority: normal
severity: normal
status: open
title: hex() documentation: mention "%x" % int
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26506>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to