top of page
Search

functools.partial

  • Writer: Fall Fox
    Fall Fox
  • 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


bottom of page