diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-09 19:23:04 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2014-10-09 19:23:04 +0200 |
commit | ccf535010f741dcc8d610204b5f822724c9a2558 (patch) | |
tree | 893d583024198fe044f40c12a23eb6292b5f183e | |
parent | 5968096a717a47e2b015bf9b31b22581108aa529 (diff) | |
download | cython-ccf535010f741dcc8d610204b5f822724c9a2558.tar.gz |
fix some typos
--HG--
extra : transplant_source : u%8C%DA%B6W%85%BC%FDA%A0%9C8%B6%16%86B%12%B6%1C/
-rw-r--r-- | Cython/Compiler/MemoryView.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Cython/Compiler/MemoryView.py b/Cython/Compiler/MemoryView.py index a69616830..944855ad1 100644 --- a/Cython/Compiler/MemoryView.py +++ b/Cython/Compiler/MemoryView.py @@ -439,13 +439,16 @@ def get_is_contig_utility(c_contig, ndim): return utility + def copy_src_to_dst_cname(): return "__pyx_memoryview_copy_contents" + def verify_direct_dimensions(node): for access, packing in node.type.axes: if access != 'direct': - error(self.pos, "All dimensions must be direct") + error(node.pos, "All dimensions must be direct") + def copy_broadcast_memview_src_to_dst(src, dst, code): """ @@ -662,7 +665,7 @@ def get_axes_specs(env, axes): if entry.name in view_constant_to_access_packing: axes_specs.append(view_constant_to_access_packing[entry.name]) else: - raise CompilerError(axis.step.pos, INVALID_ERR) + raise CompileError(axis.step.pos, INVALID_ERR) else: raise CompileError(axis.step.pos, INVALID_ERR) |