diff options
author | Matthew Chan <chanmhy@mcmaster.ca> | 2018-10-02 17:26:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 17:26:14 -0400 |
commit | f27475a3fb166cebc135af112a4b57c961c72fc6 (patch) | |
tree | 84d029e9a517b64f3c2a9b3314738c76cfbe8f9f | |
parent | d1cf2648e6a4e3b681a031c9d4b42bd20e544c76 (diff) | |
download | cython-f27475a3fb166cebc135af112a4b57c961c72fc6.tar.gz |
Fix Memviewslice docstrings
Fixes #2634
-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): |