summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-08-22 08:13:52 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-08-22 08:13:52 +0200
commitab3bc69fdcfeeb1a6e36ab1b067d164959cc5328 (patch)
tree32f54a08ea9b5026081570991af8480533bd92ea
parent818c6f1e787bb6922664536497e45941b609ab72 (diff)
downloadcython-ab3bc69fdcfeeb1a6e36ab1b067d164959cc5328.tar.gz
fix reference to utility code that was renamed
-rw-r--r--Cython/Compiler/ExprNodes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py
index 86a12517b..fc2705102 100644
--- a/Cython/Compiler/ExprNodes.py
+++ b/Cython/Compiler/ExprNodes.py
@@ -7126,7 +7126,7 @@ class SortedDictKeysNode(ExprNode):
else:
# originally used PyMapping_Keys() here, but that may return a tuple
code.globalstate.use_utility_code(UtilityCode.load_cached(
- 'PyObjectCallMethod', 'ObjectHandling.c'))
+ 'PyObjectCallMethod0', 'ObjectHandling.c'))
keys_cname = code.intern_identifier(StringEncoding.EncodedString("keys"))
code.putln('%s = __Pyx_PyObject_CallMethod0(%s, %s); %s' % (
self.result(), dict_result, keys_cname,