[Python-checkins] r52245 - python/trunk/Objects/typeobject.c
andrew.kuchling
python-checkins at python.org
Mon Oct 9 20:05:20 CEST 2006
Author: andrew.kuchling
Date: Mon Oct 9 20:05:19 2006
New Revision: 52245
Modified:
python/trunk/Objects/typeobject.c
Log:
Fix wording in comment
Modified: python/trunk/Objects/typeobject.c
==============================================================================
--- python/trunk/Objects/typeobject.c (original)
+++ python/trunk/Objects/typeobject.c Mon Oct 9 20:05:19 2006
@@ -3743,7 +3743,7 @@
while (type && type->tp_flags & Py_TPFLAGS_HEAPTYPE)
type = type->tp_base;
/* If type is NULL now, this is a really weird type.
- In the same of backwards compatibility (?), just shut up. */
+ In the spirit of backwards compatibility (?), just shut up. */
if (type && type->tp_setattro != func) {
PyErr_Format(PyExc_TypeError,
"can't apply this %s to %s object",
@@ -3960,7 +3960,7 @@
while (staticbase && (staticbase->tp_flags & Py_TPFLAGS_HEAPTYPE))
staticbase = staticbase->tp_base;
/* If staticbase is NULL now, it is a really weird type.
- In the same of backwards compatibility (?), just shut up. */
+ In the spirit of backwards compatibility (?), just shut up. */
if (staticbase && staticbase->tp_new != type->tp_new) {
PyErr_Format(PyExc_TypeError,
"%s.__new__(%s) is not safe, use %s.__new__()",
More information about the Python-checkins
mailing list