diff options
| author | Stefan Behnel <stefan_ml@behnel.de> | 2017-09-28 09:45:47 +0200 |
|---|---|---|
| committer | Stefan Behnel <stefan_ml@behnel.de> | 2017-09-28 09:45:47 +0200 |
| commit | 0da972decf6fccab3c8cf4ffc72de2d6a2d59cc0 (patch) | |
| tree | 41a4c8784eb0306fb2a1a77c9a6227c3cc52d988 /Cython/Compiler/Symtab.py | |
| parent | a4e9888c2468ae3caf0f6dd1a55c69fbd8fd1729 (diff) | |
| download | cython-0da972decf6fccab3c8cf4ffc72de2d6a2d59cc0.tar.gz | |
Fix error handling when importing NumPy for Pythran modules.
Diffstat (limited to 'Cython/Compiler/Symtab.py')
| -rw-r--r-- | Cython/Compiler/Symtab.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Cython/Compiler/Symtab.py b/Cython/Compiler/Symtab.py index 3a3f6e61f..32e10b554 100644 --- a/Cython/Compiler/Symtab.py +++ b/Cython/Compiler/Symtab.py @@ -901,10 +901,6 @@ class Scope(object): def use_entry_utility_code(self, entry): self.global_scope().use_entry_utility_code(entry) - def generate_library_function_declarations(self, code): - # Generate extern decls for C library funcs used. - pass - def defines_any(self, names): # Test whether any of the given names are defined in this scope. for name in names: @@ -1240,10 +1236,6 @@ class ModuleScope(Scope): scope = scope.find_submodule(submodule) return scope - def generate_library_function_declarations(self, code): - if self.directives['np_pythran']: - code.putln("import_array();") - def lookup_submodule(self, name): # Return scope for submodule of this module, or None. if '.' in name: |
