code: def get_klass_parents(gi_name):
      '''
      Returns a sorted list of qualified symbols representing
      the parents of the klass-like symbol named gi_name
      '''
      res = []
      parents = __HIERARCHY_GRAPH.predecessors(gi_name)
      if not parents:
          return []
      __get_parent_link_recurse(parents[0], res)
      return res