"str"(expr)"str" interpolation syntax

Carl Banks imbosol at vt.edu
Tue Sep 10 23:35:10 CEST 2002


Beni Cherniavksy wrote:
> So I propose that a parenthesized expresion near a string would
> imply concatenation.  In other words,
>        "foo"(x * 3)"bar"
> would be equivallent to
>        "foo" + str(x * 3) + "bar".

Bleagh.


-- 
CARL BANKS
http://www.aerojockey.com



More information about the Python-list mailing list