[Python-Dev] PEP 3101: Advanced String Formatting

Bill Janssen janssen at parc.com
Sun Apr 30 19:53:05 CEST 2006


>      For most built-in types, the conversion specifiers will be the
>      same or similar to the existing conversion specifiers used with
>      the '%' operator.  Thus, instead of '%02.2x", you will say
>      '{0:2.2x}'.

Don't you mean, "{0:02.2x}"?

Bill


More information about the Python-Dev mailing list