diff options
author | Mark Florisson <markflorisson88@gmail.com> | 2012-01-25 11:37:38 +0000 |
---|---|---|
committer | Mark Florisson <markflorisson88@gmail.com> | 2012-01-29 12:07:20 +0000 |
commit | d88146d0f46f911b599b8e164ea56576479125ba (patch) | |
tree | 5e2c03f1aa3de0a78828f0f592adf5817bff4e2c /Cython/Compiler/CythonScope.py | |
parent | 23d7640efd81939e5b7d4cfb2c0b18bb44b096c1 (diff) | |
download | cython-d88146d0f46f911b599b8e164ea56576479125ba.tar.gz |
Merge cython array utility with memoryview utility
Diffstat (limited to 'Cython/Compiler/CythonScope.py')
-rw-r--r-- | Cython/Compiler/CythonScope.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Cython/Compiler/CythonScope.py b/Cython/Compiler/CythonScope.py index bff3e2dfa..63bcc794f 100644 --- a/Cython/Compiler/CythonScope.py +++ b/Cython/Compiler/CythonScope.py @@ -103,9 +103,6 @@ class CythonScope(ModuleScope): cython_test_extclass_utility_code.declare_in_scope( self, cython_scope=self) - MemoryView.cython_array_utility_code.declare_in_scope( - self, cython_scope=self) - # # The view sub-scope # @@ -115,13 +112,12 @@ class CythonScope(ModuleScope): viewscope.pxd_file_loaded = True cythonview_testscope_utility_code.declare_in_scope( - viewscope, cython_scope=self) + viewscope, cython_scope=self) view_utility_scope = MemoryView.view_utility_code.declare_in_scope( - viewscope, cython_scope=self) + self.viewscope, cython_scope=self) - # MemoryView.memview_fromslice_utility_code.from_scope = view_utility_scope - # MemoryView.memview_fromslice_utility_code.declare_in_scope(viewscope) + self.entries["array"] = view_utility_scope.lookup("array") def create_cython_scope(context): |