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