projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9dcdec
)
fix no-args int() call
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 23 Nov 2013 19:25:08 +0000
(20:25 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 23 Nov 2013 19:25:08 +0000
(20:25 +0100)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index
302830c
..
17b9454
100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-2000,7
+2000,7
@@
class OptimizeBuiltinCalls(Visitor.MethodDispatcherTransform):
"""
if len(pos_args) == 0:
return ExprNodes.IntNode(node, value="0", constant_result=0,
- type=PyrexTypes.
c_in
t_type)
+ type=PyrexTypes.
py_objec
t_type)
elif len(pos_args) != 1:
return node # int(x, base)
func_arg = pos_args[0]