Python Programming - Classes - Discussion
Discussion Forum : Classes - General Questions (Q.No. 15)
15.
What is the primary purpose of the
__doc__
attribute?
Answer: Option
Explanation:
The
__doc__
attribute in Python is used to access the documentation string (docstring) associated with a module, class, or function. It provides information about the purpose and usage of the code.
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