Python Programming - Functions - Discussion
Discussion Forum : Functions - General Questions (Q.No. 71)
71.
What does the
__call__
method do in a Python class?
Answer: Option
Explanation:
The
__call__
method in a Python class allows an instance of the class to be called as if it were a function.
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