From: Stefan Behnel Date: Sat, 10 Apr 2010 17:10:52 +0000 (+0200) Subject: cleanup X-Git-Tag: 0.13.beta0~223 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9691ec463575be873ee0502e17c35927351ff65d;p=cython.git cleanup --- diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index af9c2612..ba0f991a 100755 --- 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: