Commit 3d32ca71 authored by Stefan Behnel's avatar Stefan Behnel

merge branch 0.19.x

parents 2edd9423 34a04162
......@@ -914,7 +914,7 @@ class InterpretCompilerDirectives(CythonTransform, SkipDeclarations):
args[0], (ExprNodes.StringNode, ExprNodes.UnicodeNode)):
raise PostParseError(pos,
'The %s directive takes one compile-time string argument' % optname)
return (optname, directivetype(optname, args[0].value))
return (optname, directivetype(optname, str(args[0].value)))
else:
assert False
......
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