Show More
@@ -835,7 +835,7 b' class Inspector(Colorable):' | |||
|
835 | 835 | att_name = oname.split(".")[-1] |
|
836 | 836 | parents_docs = None |
|
837 | 837 | prelude = "" |
|
838 | if info and info.parent and hasattr(info.parent, HOOK_NAME): | |
|
838 | if info and info.parent is not None and hasattr(info.parent, HOOK_NAME): | |
|
839 | 839 | parents_docs_dict = getattr(info.parent, HOOK_NAME) |
|
840 | 840 | parents_docs = parents_docs_dict.get(att_name, None) |
|
841 | 841 | out = dict( |
General Comments 0
You need to be logged in to leave comments.
Login now