On 02/22/2014 10:50 PM, Nikolaus Rath wrote:
Ethan Furman <[email protected]> writes:
Example::

    >>> b'%4x' % 10
    b'   a'

    >>> '%#4x' % 10
    ' 0xa'

    >>> '%04X' % 10
    '000A'

Shouldn't the second two examples also be bytes, ie. b'%#4x' instead of
'%#4x'?

Yup, thanks.

--
~Ethan~
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to