j
k
j a
j l
Jonathan Fine writes:
tmp = list(sorted(d.items()))
The list() call is redundant. sorted() always returns a new list. Ditto, reversed(). The method versions are in-place. Steve
Back to the thread
Back to the list