class AttrTest:
"""This is AttrText class doc"""
def __int__(self):
"""This is display doc """
obj = AttrTest()
print(AttrTest.__doc__)
print(obj.__doc__)
Options:
Explanation
Correct answer is : B
__doc__ for both the class name object and instance will print class document string
Comment here: