parameters: (classes, children, parent)
return_statement: return results
docstring: Recursive helper function for getclasstree().
docstring_summary: Recursive helper function for getclasstree().
docstring_tokens: Recursive helper function for getclasstree () .
function: def walktree(classes, children, parent):
      """Recursive helper function for getclasstree()."""
      results = []
      classes.sort(key=attrgetter('__module__', '__name__'))
      for c in classes:
          results.append((c, c.__bases__))
          if c in children:
              results.append(walktree(children[c], children, c))
      return results
function_tokens: def walktree ( classes , children , parent ) : results = [ ] classes . sort ( key = attrgetter ( '__module__' , '__name__' ) ) for c in classes : results . append ( ( c , c . __bases__ ) ) if c in children : results . append ( walktree ( children [ c ] , children , c ) ) return results