fix comment
authorStefan Behnel <stefan_ml@behnel.de>
Sat, 2 Nov 2013 13:37:23 +0000 (14:37 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Sat, 2 Nov 2013 13:37:23 +0000 (14:37 +0100)
Cython/Compiler/ModuleNode.py

index d9a62f6..c45c444 100644 (file)
@@ -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