From: Robert Bradshaw Date: Thu, 4 Feb 2010 22:24:17 +0000 (-0800) Subject: Note about best_match function. X-Git-Tag: 0.13.beta0~353^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=71805ed5f6561d478bcacf022dc3f8ac2373910d;p=cython.git Note about best_match function. --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 5b78c8f1..77bed247 100755 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -2233,6 +2233,7 @@ def best_match(args, functions, pos=None): Finds the best function to be called Error if no function fits the call or an ambiguity is find (two or more possible functions) """ + # TODO: args should be a list of types, not a list of Nodes. actual_nargs = len(args) possibilities = [] bad_types = 0