accessing parent node. Please, help.

Hello,

I am using the clang python bindings and I can easily access the children of a node/cursor with the function
node.get_children(). See below the code of this function.

Do you have any idea how to get the parent node from a given node? I don’t want the semantic_parent or lexical_parent.
Any hack to the code of get_children would make it? I see the word “parent” written there.

Cheers,

Juan