semi-concatenated strings

Fredrik Lundh fredrik at pythonware.com
Thu May 30 17:06:38 EDT 2002


Grant Griffin wrote:
>
> I discovered today that strings can sometimes be concatenated
> without using a "+":

had you read the language reference, you might have discovered
this long ago:

    2.4.2 String literal concatenation
    http://www.python.org/doc/current/ref/string-catenation.html

and Python's not the only language doing this, of course; e.g. see:

    http://www.lysator.liu.se/c/rat/c1.html#3-1-4

</F>

<!-- (the eff-bot guide to) the python standard library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list