Py3 fix
authorStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 10:42:10 +0000 (12:42 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 10:42:10 +0000 (12:42 +0200)
Cython/Compiler/AutoDocTransforms.py

index 738759845fcab98ee738ad4df7a395ba866ad1bd..ed53d8d305f45a668491b56c1365db60ba0d7a8c 100644 (file)
@@ -82,7 +82,7 @@ class EmbedSignature(CythonTransform):
 
     def _embed_signature(self, signature, node_doc):
         if node_doc:
-            return signature + '\n' + node_doc
+            return "%s\n%s" % (signature, node_doc)
         else:
             return signature