Skip to content

Why is functools.partial used so frequently? #2326

Closed Answered by jordandsullivan
jordandsullivan asked this question in Q&A
Discussion options

You must be logged in to vote

Upon further reflection, I suppose it is a convenient way to specify positional arguments that will stay the same across many executions of a function.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@natestemen
Comment options

@jordandsullivan
Comment options

@natestemen
Comment options

Answer selected by natestemen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants