StringIO proposal: add __iadd__

Paul Rubin http
Mon Jan 30 00:22:30 EST 2006


aleax at mail.comcast.net (Alex Martelli) writes:
> Not really: <<'s point is to allow chaining, f<<a<<b<<c.  += would have
> no such "advantage" (or disadvantage, as the case may be).

Hmm, ok.  I've always found << repulsive in that context though, so
won't suggest it for Python.  



More information about the Python-list mailing list