Commit 5dc88bf2 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent 63c23fbe
...@@ -291,9 +291,9 @@ class MemoryViewSliceBufferEntry(Buffer.BufferEntry): ...@@ -291,9 +291,9 @@ class MemoryViewSliceBufferEntry(Buffer.BufferEntry):
new_ndim = 0 new_ndim = 0
src = self.cname src = self.cname
def load_slice_util(name, dict): def load_slice_util(name, context_dict):
proto, impl = TempitaUtilityCode.load_as_string( proto, impl = TempitaUtilityCode.load_as_string(
name, "MemoryView_C.c", context=dict) name, "MemoryView_C.c", context=context_dict)
return impl return impl
all_dimensions_direct = True all_dimensions_direct = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment