parameters: (type)
return_statement: return result
docstring: Returns type and all classes that derive from it, in the order of their distance from type.
docstring_summary: Returns type and all classes that derive from it, in the order of their distance from type.
docstring_tokens: Returns type and all classes that derive from it in the order of their distance from type .
function: def all_derived (type):
      """ Returns type and all classes that derive from it, in the order of their distance from type.
      """
      assert isinstance(type, basestring)
      result = [type]
      for d in __types [type]['derived']:
          result.extend (all_derived (d))
  
      return result
function_tokens: def all_derived ( type ) : assert isinstance ( type , basestring ) result = [ type ] for d in __types [ type ] [ 'derived' ] : result . extend ( all_derived ( d ) ) return result