Commit 780e4050 authored by Robert Bradshaw's avatar Robert Bradshaw

Python 2.3 fix.

parent 240d4885
...@@ -101,7 +101,7 @@ def cython_inline(code, ...@@ -101,7 +101,7 @@ def cython_inline(code,
print "Could not parse code as a string (to extract unbound symbols)." print "Could not parse code as a string (to extract unbound symbols)."
arg_names = kwds.keys() arg_names = kwds.keys()
arg_names.sort() arg_names.sort()
arg_sigs = tuple((get_type(kwds[arg], ctx), arg) for arg in arg_names) arg_sigs = tuple([(get_type(kwds[arg], ctx), arg) for arg in arg_names])
key = code, arg_sigs key = code, arg_sigs
module = _code_cache.get(key) module = _code_cache.get(key)
if not module: if not module:
......
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