Commit f675f1ce authored by Stefan Behnel's avatar Stefan Behnel

fix 'cython.compiled' flag

parent 7c0aa4af
...@@ -2413,7 +2413,7 @@ class TransformBuiltinMethods(EnvTransform): ...@@ -2413,7 +2413,7 @@ class TransformBuiltinMethods(EnvTransform):
if attribute: if attribute:
if attribute == u'compiled': if attribute == u'compiled':
node = ExprNodes.BoolNode(node.pos, value=True) node = ExprNodes.BoolNode(node.pos, value=True)
if attribute == u'__version__': elif attribute == u'__version__':
import Cython import Cython
node = ExprNodes.StringNode(node.pos, value=EncodedString(Cython.__version__)) node = ExprNodes.StringNode(node.pos, value=EncodedString(Cython.__version__))
elif attribute == u'NULL': elif attribute == u'NULL':
......
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