[docs] [issue16665] doc for builtin hex() is poor

rurpy report at bugs.python.org
Thu Dec 13 19:22:02 CET 2012


rurpy added the comment:

An ammendment to my proposed doc change.

Replace the text (which is unchanged from the current doc),

  "...the result is a valid Python expression"

with,

  "...the result is a valid Python "hexinteger" literal (see link:[Python Lang Ref, sec 2.4.4. Integer literals])

"Python epression" in the current doc is way more non-specific than it need be.  The result is not any old python expression, it is a very specific type of python expression so the doc should say that.

----------

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


More information about the docs mailing list