regex into str

Peter Kleiweg in.aqua.scribis at nl.invalid
Mon Aug 30 07:33:00 EDT 2004


Jeremy Bowers schreef:

> On Sun, 29 Aug 2004 12:58:57 +0200, Peter Kleiweg wrote:
>
> > That is not relevant. What matters is that a += 'b' does what it
> > is supposed to do.
>
> If you want to be that way, then fine. No, it doesn't do what it is
> "supposed" to do, in the context you are discussing. It does not add a "b"
> to the original string, it creates a new string containing the original
> contents plus the new contents.

Yes, exactly as it is supposed to do.


-- 
Peter Kleiweg  L:NL,af,da,de,en,ia,nds,no,sv,(fr,it)  S:NL,de,en,(da,ia)
info: http://www.let.rug.nl/~kleiweg/ls.html




More information about the Python-list mailing list