## get_ancestor(ancestor_type) {#object} Gets the first ancestor of the specified object type. ```python def get_ancestor(self, ancestor_type: object): ... ``` | Parameter | Type | Description | | ......Shows how to find out if a tables are nested. ```python doc =...Document(file_name=MY_DIR + 'Nested tables.docx') tables = doc.get_child_nodes(aw...