parameters: (frame)
return_statement: return None
docstring: Returns the parent frame of the input frame object; None if not available.
docstring_summary: Returns the parent frame of the input frame object; None if not available.
docstring_tokens: Returns the parent frame of the input frame object ; None if not available .
function: def get_parent_frame(frame):
      """
      Returns the parent frame of the input frame object; None if not available.
      """
      thread = frame.GetThread()
      parent_found = False
      for f in thread:
          if parent_found:
              return f
          if f.GetFrameID() == frame.GetFrameID():
              parent_found = True
  
      # If we reach here, no parent has been found, return None.
      return None
function_tokens: def get_parent_frame ( frame ) : thread = frame . GetThread ( ) parent_found = False for f in thread : if parent_found : return f if f . GetFrameID ( ) == frame . GetFrameID ( ) : parent_found = True # If we reach here, no parent has been found, return None. return None