parameters: (node)
return_statement: return node.parent.parent
docstring: returns grandparent of node
docstring_summary: returns grandparent of node
docstring_tokens: returns grandparent of node
function: def grandparent(node):
          """ returns grandparent of node """
          if node is None or node.parent is None:
              return None
          return node.parent.parent
function_tokens: def grandparent ( node ) : if node is None or node . parent is None : return None return node . parent . parent