Commit f27475a3 authored by Matthew Chan's avatar Matthew Chan Committed by GitHub

Fix Memviewslice docstrings

Fixes #2634
parent d1cf2648
...@@ -653,8 +653,9 @@ class MemoryViewSliceType(PyrexType): ...@@ -653,8 +653,9 @@ class MemoryViewSliceType(PyrexType):
assert not pyrex assert not pyrex
assert not dll_linkage assert not dll_linkage
from . import MemoryView from . import MemoryView
base_code = self.__str__() if for_display else MemoryView.memviewslice_cname
return self.base_declaration_code( return self.base_declaration_code(
MemoryView.memviewslice_cname, base_code,
entity_code) entity_code)
def attributes_known(self): def attributes_known(self):
......
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