As mentioned in the subject line for a given objec (module or class)
print (object.__doc__) works
document.write (object.__doc__)
TypeError" write: () argument must be a str not None
I do get type(object.__doc__)
is None
Update: Grrr...indeed the first object in the list had not doc string Now the error mutated to TypeError" must be a str not type