summaryrefslogtreecommitdiff
path: root/Cython/Compiler/ModuleNode.py
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2013-11-02 14:37:23 +0100
committerStefan Behnel <stefan_ml@behnel.de>2013-11-02 14:37:23 +0100
commit43f005d06d86d2ec13dee18fd4627f85dbe3b4b0 (patch)
tree1e92042f4863c462ba0ef7672070da03ed90314f /Cython/Compiler/ModuleNode.py
parent2e298b7efce37db0e22e144b81b4a1c5eba8e594 (diff)
downloadcython-43f005d06d86d2ec13dee18fd4627f85dbe3b4b0.tar.gz
fix comment
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r--Cython/Compiler/ModuleNode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py
index d9a62f63e..c45c444c8 100644
--- 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_dict from builtin types, restoring the
+ # Don't inherit tp_print 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