diff options
author | Benjamin Weigel <bweigel@users.noreply.github.com> | 2018-10-27 12:23:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-27 12:23:29 +0200 |
commit | 5244cc91b75b63a2a85e16078f469b6646af0cf5 (patch) | |
tree | 866737869c480f4900e4be085fc66eacefb1cf7a | |
parent | f71b8af2a6a917d96f96946accc4f9c41c672a7f (diff) | |
parent | f27475a3fb166cebc135af112a4b57c961c72fc6 (diff) | |
download | cython-5244cc91b75b63a2a85e16078f469b6646af0cf5.tar.gz |
Merge pull request #1 from matt-chan/patch-1
[#2634] Merge Fix
-rw-r--r-- | Cython/Compiler/PyrexTypes.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index ac5913f9a..f29bb8e02 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -653,8 +653,9 @@ class MemoryViewSliceType(PyrexType): assert not pyrex assert not dll_linkage from . import MemoryView + base_code = self.__str__() if for_display else MemoryView.memviewslice_cname return self.base_declaration_code( - MemoryView.memviewslice_cname, + base_code, entity_code) def attributes_known(self): |