Please, is there a reason why extend() method does not return self?
a = [1,2].extend((3,4)) a type(a)
<class 'NoneType'>
b = [1,2] b.extend((3,4)) b
[1, 2, 3, 4] _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/5BAHV7VURBOSFUCTPFPQ646CGMHB7RTP/ Code of Conduct: http://python.org/psf/codeofconduct/
