[Python-Dev] PEP-498: Literal String Formatting

Nick Coghlan ncoghlan at gmail.com
Sat Aug 8 17:24:08 CEST 2015

On 9 August 2015 at 01:16, Alexander Walters <tritium-list at sdamon.com> wrote:
> Wait a second, the pep itself does not use the vestigial u''... it uses i''.
> where did u'' come from?

The only difference in the PEP is the fact that the iu"" variant calls
a different builtin (__interpolateu__ instead of __interpolate__).
There's no change to the semantics of u"" - those remain identical to


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list