Commit 63402a50 authored by Stefan Behnel's avatar Stefan Behnel

tiny cleanup

parent 3b167e95
......@@ -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
......
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