summaryrefslogtreecommitdiff
path: root/Cython/Compiler/CythonScope.py
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/CythonScope.py')
-rw-r--r--Cython/Compiler/CythonScope.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Compiler/CythonScope.py b/Cython/Compiler/CythonScope.py
index deffaffb4..5ae8f8a6b 100644
--- a/Cython/Compiler/CythonScope.py
+++ b/Cython/Compiler/CythonScope.py
@@ -22,6 +22,8 @@ class CythonScope(ModuleScope):
if type:
return type
+ return super(CythonScope, self).lookup_type(name)
+
def create_cython_scope(context):
create_utility_scope(context)
return CythonScope(context)