functools.partial

Aug 1, 2023
1 min read
You can use `functools.partial` to pass along instances of functions with pre-bound variables.
This can help in some situations where you don't want the caller of the function to be made to properly pass along parameters.
Comments