"str"(expr)"str" interpolation syntax

Carl Banks imbosol at vt.edu
Tue Sep 10 17:35:10 EDT 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