Ejemplo n.º 1
0
 def get_pair_string(self, i):
     order = self.orders[i]
     if order == 0:
         return Graph.get_pair_string(self, i)
     else:
         # pad with zeros to make sure that string sort is identical to number sort
         return "%03i" % order