Eli Bendersky <[email protected]> added the comment: Attaching a patch with the following:
1. list.copy() and list.clear() implemented in Objects/listobject.c, with appropriate doc strings (modeled after dict's docstrings) 2. Same methods implemented in collections.UserList 3. Tests added that exercise the methods in both list and UserList Re the documentation, it's currently unclear where it should go. I asked on [email protected]. ---------- Added file: http://bugs.python.org/file19938/issue10516.2.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue10516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
