basic language question

Stephan Diehl stephan.diehl at gmx.net
Thu Sep 4 18:24:58 CEST 2003


Once in a while, I get bitten by the fact, that mutating list methods such
as 'append' or 'extend' return None instead of the (mutated) list itself.
Is there a compelling reason for that? I googled around, but didn't find
anything about this.
Thanks

Stephan




More information about the Python-list mailing list