summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cython/Compiler/Symtab.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py
index 17d3634bc..712a06a7a 100644
--- a/Cython/Compiler/Symtab.py
+++ b/Cython/Compiler/Symtab.py
@@ -992,6 +992,7 @@ class Scope(object):
if entry.type.is_fused and self.fused_to_specific:
return entry.type.specialize(self.fused_to_specific)
return entry.type
+ return None
def lookup_operator(self, operator, operands):
if operands[0].type.is_cpp_class: