Commit c31ccb13 authored by Stefan Behnel's avatar Stefan Behnel

prevent infer_type() method from returning None on missing C++ declaration

parent 88523684
......@@ -2011,7 +2011,6 @@ class IteratorNode(ExprNode):
return begin.type.base_type.return_type
elif sequence_type.is_pyobject:
return sequence_type
else:
return py_object_type
def analyse_cpp_types(self, env):
......
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