Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
Guido approved these both in a thread earlier this year. The reasoning for copy() was the same as for clear(), some folks couldn't cope with: b = a[:] ---------- nosy: +rhettinger title: Add list.clear() -> Add list.clear() and list.copy() _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10516> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com