You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop unneeded key arguments for sorting dict items
Passing a key argument of the form `key=lambda item: item[0]` to
sorted() when sorting dict items is unneeded, because tuples already
compare element-wise, and the first elements are known to be unique
since they are dictionary keys.
0 commit comments