Less string pxd function checking
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 29 Oct 2008 04:52:28 +0000 (21:52 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 29 Oct 2008 04:52:28 +0000 (21:52 -0700)
Cython/Compiler/Symtab.py

index 6c906c5e3a0c8c6c7f392ce133041ce88d357499..c6a697af4bded76e0c51edba6a2a8fa0b4bab2a6 100644 (file)
@@ -1126,6 +1126,7 @@ class ModuleScope(Scope):
         for name, entry in self.entries.items():
             if entry.is_cfunction:
                 if (entry.defined_in_pxd 
+                        and entry.scope is self
                         and entry.visibility != 'extern'
                         and not entry.in_cinclude 
                         and not entry.is_implemented):