Boštjan Mejak <[email protected]> added the comment: This is really welcome. It makes Python even more readable.
If 'a' is a list object, a[:] is not so obvious at first to a newcomer, but a.copy() is. Also, a.clear() is so perfect and understandable. I wish you could decorate Python versions prior to 3.3 with this two new list methods. ---------- nosy: +Retro _______________________________________ 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
