Python Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 59)
59.
What is the purpose of the functools.partialmethod?
To create partial functions with default arguments.
To create partial methods with default arguments.
To create class methods with default arguments.
To create static methods with default arguments.
Answer: Option
Explanation:
The functools.partialmethod in Python is used to create partial methods with default arguments, similar to functools.partial for functions.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.