Re:Key differences between Python 2.7.x and Python 3.x (2014)
by SmirkingRevenge on Sunday May 07, 2017 @04:10PM
(#14287338)
FYI... neither of those work. Sort (using the dot sort() notation) operates on a mutable list in place, and returns no value. Never use it on the right side of an assignment. Its like dict's `update` in that regard.
[ Parent
| on HN ]
There are no comments on this comment yet.