|
|
|
|
|
by probably
5149 days ago
|
|
And sorted() and reversed() behave differently (return different object classes) while mylist.sort() and mylist.reverse() do. In that way it's also confusing. The modify-in-place method does seems more natural when you do want the destructive updating case. |
|