Commit c4808363 authored by Robert Bradshaw's avatar Robert Bradshaw

more function overloading

parent d478de19
...@@ -2418,8 +2418,9 @@ class SimpleCallNode(CallNode): ...@@ -2418,8 +2418,9 @@ class SimpleCallNode(CallNode):
else: else:
score[0] += 1 score[0] += 1
else: else:
continue break
possibilities.append((score, entry)) # so we can sort it else:
possibilities.append((score, entry)) # so we can sort it
if len(possibilities): if len(possibilities):
possibilities.sort() possibilities.sort()
if len(possibilities) > 1 and possibilities[0][0] == possibilities[1][0]: if len(possibilities) > 1 and possibilities[0][0] == possibilities[1][0]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment