projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e298b7
)
fix comment
author
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 2 Nov 2013 13:37:23 +0000
(14:37 +0100)
committer
Stefan Behnel
<stefan_ml@behnel.de>
Sat, 2 Nov 2013 13:37:23 +0000
(14:37 +0100)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index
d9a62f6
..
c45c444
100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-2521,7
+2521,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
"if (PyType_Ready(&%s) < 0) %s" % (
typeobj_cname,
code.error_goto(entry.pos)))
- # Don't inherit tp_
dic
t from builtin types, restoring the
+ # Don't inherit tp_
prin
t from builtin types, restoring the
# behavior of using tp_repr or tp_str instead.
code.putln("%s.tp_print = 0;" % typeobj_cname)
# Fix special method docstrings. This is a bit of a hack, but