[Python-Dev] PEP 3101: Advanced String Formatting (original) (raw)
Bill Janssen janssen at parc.com
Sun Apr 30 19:53:05 CEST 2006
- Previous message: [Python-Dev] PEP 3101: Advanced String Formatting
- Next message: [Python-Dev] PEP 3102: Keyword-only arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] PEP 3101: Advanced String Formatting
- Next message: [Python-Dev] PEP 3102: Keyword-only arguments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]