The %x conversion specifier is documented in
http://docs.python.org/lib/typesseq-strings.html as "Unsigned
hexadecimal (lowercase)."  What does "unsigned" refer to?

>>> '0x%x' % 10
'0xa'
>>> '0x%x' % -10
'0x-a'

Is this a bug or is %x misdocumented?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to