list.extend([]) Question

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Fri Feb 5 11:44:02 EST 2010


Gerald Britton a écrit :
> I think it's because when you do ['a'].extend([]) or whatever, the
> result is whatever the method "extend" returns.  But "extend" has no
> return value

It does : it returns None.




More information about the Python-list mailing list