Peter Otten wrote:
Terry Reedy wrote:>>> a,b,*rest = list(range(10))The list() call is superfluous.
Agreed, even in Py3 when range() returns a range object rather than a list. -- http://mail.python.org/mailman/listinfo/python-list
Peter Otten wrote:
Terry Reedy wrote:>>> a,b,*rest = list(range(10))The list() call is superfluous.
Agreed, even in Py3 when range() returns a range object rather than a list. -- http://mail.python.org/mailman/listinfo/python-list