Variable Interpolation - status of PEP 215

Aahz aahz at
Thu Jun 20 21:43:29 CEST 2002

In article <7xu1ny4cvz.fsf at>,
Paul Rubin  <phr-n2002b at> wrote:
>What's the deal with the curly braces in 292?  That's not discussed
>at all in the PEP.  I don't see what's wrong with
>   print "My name is $name".sub()
>(which is similar to what 215 allowed) instead of
>   print "My name is ${name}".sub()


    "$numbers of items on sale"


    "${number}s of items on sale"
Aahz (aahz at           <*>

Project Vote Smart:

More information about the Python-list mailing list