summaryrefslogtreecommitdiff
path: root/Cython/Compiler/Scanning.pxd
diff options
context:
space:
mode:
Diffstat (limited to 'Cython/Compiler/Scanning.pxd')
-rw-r--r--Cython/Compiler/Scanning.pxd2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cython/Compiler/Scanning.pxd b/Cython/Compiler/Scanning.pxd
index 792c9a1e1..4d298ec79 100644
--- a/Cython/Compiler/Scanning.pxd
+++ b/Cython/Compiler/Scanning.pxd
@@ -8,6 +8,7 @@ cdef class Method:
cdef object name
cdef object __name__
+@cython.final
cdef class CompileTimeScope:
cdef public dict entries
cdef public CompileTimeScope outer
@@ -15,6 +16,7 @@ cdef class CompileTimeScope:
cdef lookup_here(self, name)
cpdef lookup(self, name)
+@cython.final
cdef class PyrexScanner(Scanner):
cdef public context
cdef public list included_files