From: Craig Citro Date: Tue, 9 Feb 2010 18:19:08 +0000 (-0800) Subject: Whoops, forgot to test after previous patch. X-Git-Tag: 0.13.beta0~349^2~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=269519a89687f0a9f4afd48d07cbaabc1d3bbdac;p=cython.git Whoops, forgot to test after previous patch. --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 1be454f7..d2e16663 100755 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -2282,7 +2282,7 @@ def best_match(args, functions, pos=None): # Optimize the most common case of no overloading... if len(candidates) == 1: - return candidates[0] + return candidates[0][0] elif len(candidates) == 0: if len(errors) == 1 and pos is not None: error(pos, errors[0][1])