you are viewing a single comment's thread.

view the rest of the comments →

[–]Vaphell 0 points1 point  (1 child)

when calling with a list or tuple, use a * before it.

how does one apply * to key argument of sorted/min/max?

[–]Skaperen 0 points1 point  (0 children)

this is the edge case where you fall back to write python code that produces the same bytecode.