summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbweigel <benjamin.weigel@europace.de>2018-10-27 12:31:48 +0200
committerbweigel <benjamin.weigel@europace.de>2018-10-27 12:31:48 +0200
commitd3f6eaa34d587ebb8520ebbd4fe27a845452aac3 (patch)
tree546c0d32661e7bd2e475014a90b218b801d80621
parent5244cc91b75b63a2a85e16078f469b6646af0cf5 (diff)
downloadcython-d3f6eaa34d587ebb8520ebbd4fe27a845452aac3.tar.gz
reformat codestyle
-rw-r--r--Cython/Compiler/PyrexTypes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py
index f29bb8e02..2b604bd27 100644
--- a/Cython/Compiler/PyrexTypes.py
+++ b/Cython/Compiler/PyrexTypes.py
@@ -653,7 +653,7 @@ class MemoryViewSliceType(PyrexType):
assert not pyrex
assert not dll_linkage
from . import MemoryView
- base_code = self.__str__() if for_display else MemoryView.memviewslice_cname
+ base_code = str(self) if for_display else MemoryView.memviewslice_cname
return self.base_declaration_code(
base_code,
entity_code)