projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b167e9
)
tiny cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 22 Oct 2009 06:12:32 +0000
(08:12 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 22 Oct 2009 06:12:32 +0000
(08:12 +0200)
Cython/Compiler/Optimize.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Optimize.py
b/Cython/Compiler/Optimize.py
index 091dfa54e3a900957a8d77e452f80e85f887ed9a..83583fe9bc5f9651438390a3e51418a1c8c7cc61 100644
(file)
--- a/
Cython/Compiler/Optimize.py
+++ b/
Cython/Compiler/Optimize.py
@@
-685,7
+685,7
@@
class OptimizeBuiltinCalls(Visitor.VisitorTransform):
return function_handler(node, arg_tuple, kwargs)
else:
return function_handler(node, arg_tuple)
- elif
isinstance(function, ExprNodes.AttributeNode)
:
+ elif
function.is_attribute
:
arg_list = arg_tuple.args
self_arg = function.obj
obj_type = self_arg.type