Commit a8fbae1d authored by Stefan Behnel's avatar Stefan Behnel

fix error output in cython.inline()

parent d6cac0ef
...@@ -140,7 +140,7 @@ def cython_inline(code, ...@@ -140,7 +140,7 @@ def cython_inline(code,
elif symbol in globals: elif symbol in globals:
kwds[symbol] = globals[symbol] kwds[symbol] = globals[symbol]
else: else:
print("Couldn't find ", symbol) print("Couldn't find %r" % symbol)
except AssertionError: except AssertionError:
if not quiet: if not quiet:
# Parsing from strings not fully supported (e.g. cimports). # Parsing from strings not fully supported (e.g. cimports).
......
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