What is the __ doc __ in Python?
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
class test:
“”” This is test class”””
def __init__(self):
pass
obj = test()
print(obj.__doc__) => Output: This is test class