1 import xml.etree.ElementTree
as ET
9 """Get this Doc's tree. 12 The xml.etree.ElementTree object of the documentation. 17 if other
is None or other.get_tree()
is None:
20 return ET.tostring(self.tree.getroot()) == \
21 ET.tostring(other.get_tree().getroot())
39 '''Get the documentation for the class. 42 class_name -- the name of the class 45 The ClassDoc with the class's documentation. None if the class does not 48 return self.class_docs.get(class_name)
51 '''Get the documentation for a free function. 54 free_func_name -- the name of the free function 57 The FreeDoc with the free function's documentation. None if the class 60 return self.free_docs.get(free_func_name)
69 return list(self.class_docs.values())
72 return list(self.free_docs.values())
def get_class_docs_keys_list(self)
def get_class_docs(self, class_name)
def get_free_docs(self, free_func_name)
def get_free_docs_values_list(self)
def __init__(self, class_docs, free_docs)
def get_free_docs_keys_list(self)
def get_class_docs_values_list(self)