projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
635a394
)
fix doubled docstrings for Python classes
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 10 Apr 2008 11:55:36 +0000
(13:55 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 10 Apr 2008 11:55:36 +0000
(13:55 +0200)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index 76a14ee6432a358b178074b57e317e675a016e10..eb593d2e0ab525c7155aeb5d96c2f54ef40ab7e7 100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-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