diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2006-10-09 18:05:19 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2006-10-09 18:05:19 (GMT) |
commit | b3f37556bcb21997a16d117e36eec78474ee0e19 (patch) | |
tree | 9c7c6d32cc569fa76e4c10c509ef565ad639dd4e | |
parent | 99994790a08e98e6602b2bcbaf8aa026f40e7bf6 (diff) | |
download | cpython-b3f37556bcb21997a16d117e36eec78474ee0e19.zip cpython-b3f37556bcb21997a16d117e36eec78474ee0e19.tar.gz cpython-b3f37556bcb21997a16d117e36eec78474ee0e19.tar.bz2 |
Fix wording in comment
-rw-r--r-- | Objects/typeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index d4a46c3..0cf830a 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3743,7 +3743,7 @@ hackcheck(PyObject *self, setattrofunc func, char *what) 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 @@ tp_new_wrapper(PyObject *self, PyObject *args, PyObject *kwds) 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__()", |