[issue10516] Add list.clear() and list.copy()

Éric Araujo report at bugs.python.org
Thu Feb 24 04:26:53 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Ray: Eli can just refresh his patch and commit.  Note that the patch program will prompt you for a file name if it can’t find the file for a diff hunk, so it should be trivial to apply a patch across a rename.

Eli: Would you mind changing two nits before committing the nice patch?

+"L.clear() -> None -- remove all items from L");
It looks like other methods that return None just omit the “-> type” part.

+      
 
+
That’s one new line too many.  Some trailing spaces are also included.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10516>
_______________________________________


More information about the Python-bugs-list mailing list