fix doubled docstrings for Python classes
authorStefan Behnel <scoder@users.berlios.de>
Thu, 10 Apr 2008 11:55:36 +0000 (13:55 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Thu, 10 Apr 2008 11:55:36 +0000 (13:55 +0200)
Cython/Compiler/Nodes.py

index 76a14ee6432a358b178074b57e317e675a016e10..eb593d2e0ab525c7155aeb5d96c2f54ef40ab7e7 100644 (file)
@@ -1921,7 +1921,7 @@ class PyClassDefNode(StatNode, BlockNode):
         if self.doc and Options.docstrings:
             if Options.embed_pos_in_docstring:
                 doc = 'File: %s (starting at line %s)'%relative_position(self.pos)
-            doc = doc + '\\n' + self.doc
+                doc = doc + '\\n' + self.doc
             doc_node = ExprNodes.StringNode(pos, value = doc)
         else:
             doc_node = None