summaryrefslogtreecommitdiff
path: root/Cython/Compiler/MemoryView.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-12-31 14:48:19 +0100
committerStefan Behnel <stefan_ml@behnel.de>2014-12-31 14:48:19 +0100
commit5dc88bf2161e5bd61cf305ac6736a2c9c0a1cb92 (patch)
tree863620906baafa8c7446a27b9241330f46df370f /Cython/Compiler/MemoryView.py
parent63c23fbec43a30f82e08b0d567c2365631b7c2f6 (diff)
downloadcython-5dc88bf2161e5bd61cf305ac6736a2c9c0a1cb92.tar.gz
minor code cleanup
Diffstat (limited to 'Cython/Compiler/MemoryView.py')
-rw-r--r--Cython/Compiler/MemoryView.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/MemoryView.py b/Cython/Compiler/MemoryView.py
index 49ea3178d..0a01f0bb8 100644
--- a/Cython/Compiler/MemoryView.py
+++ b/Cython/Compiler/MemoryView.py
@@ -291,9 +291,9 @@ class MemoryViewSliceBufferEntry(Buffer.BufferEntry):
new_ndim = 0
src = self.cname
- def load_slice_util(name, dict):
+ def load_slice_util(name, context_dict):
proto, impl = TempitaUtilityCode.load_as_string(
- name, "MemoryView_C.c", context=dict)
+ name, "MemoryView_C.c", context=context_dict)
return impl
all_dimensions_direct = True