Python Programming - Decorators - Discussion
Discussion Forum : Decorators - General Questions (Q.No. 29)
29.
How does the
@functools.partialmethod
decorator differ from @functools.partial
?
Answer: Option
Explanation:
@functools.partialmethod
is specifically designed for methods in a class, allowing for partial application of arguments, while @functools.partial
is used for functions in general.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers