cleanup
authorStefan Behnel <scoder@users.berlios.de>
Sat, 10 Apr 2010 17:10:52 +0000 (19:10 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Sat, 10 Apr 2010 17:10:52 +0000 (19:10 +0200)
Cython/Compiler/PyrexTypes.py

index af9c26127585f02f0beda3f79f505c39d0dc98d7..ba0f991a1e4ab30634e8592b9c7edba6dd99a7ed 100755 (executable)
@@ -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: