projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
141c58f
)
cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Apr 2010 17:10:52 +0000
(19:10 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sat, 10 Apr 2010 17:10:52 +0000
(19:10 +0200)
Cython/Compiler/PyrexTypes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/PyrexTypes.py
b/Cython/Compiler/PyrexTypes.py
index af9c26127585f02f0beda3f79f505c39d0dc98d7..ba0f991a1e4ab30634e8592b9c7edba6dd99a7ed 100755
(executable)
--- a/
Cython/Compiler/PyrexTypes.py
+++ b/
Cython/Compiler/PyrexTypes.py
@@
-1850,7
+1850,7
@@
class CppClassType(CType):
def declaration_code(self, entity_code, for_display = 0, dll_linkage = None, pyrex = 0):
if self.templates:
template_strings = [param.declaration_code('', for_display, pyrex) for param in self.templates]
- templates = "<
" + ",".join(template_strings) + ">"
+ templates = "<
%s>" % ",".join(template_strings)
else:
templates = ""
if for_display or pyrex: