L = [4,3,2,1] L=L.sort() L will refer to None, why L.sort() don't return the L? I want to ask why the designer of Python do so?
-- http://mail.python.org/mailman/listinfo/python-list
L = [4,3,2,1] L=L.sort() L will refer to None, why L.sort() don't return the L? I want to ask why the designer of Python do so?
-- http://mail.python.org/mailman/listinfo/python-list