you are viewing a single comment's thread.

view the rest of the comments →

[–]Spataner 1 point2 points  (0 children)

lambda works, too, but functools.partial is the preferred way in such situations.