From 7e47402264cf87b9bbb61fc9ff610af08add7c7b Mon Sep 17 00:00:00 2001 From: Thomas Wouters Date: Sun, 16 Jul 2000 12:04:32 +0000 Subject: Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;) --- Objects/unicodeobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Objects/unicodeobject.c') diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 02d1b0d5d8..12c5be435d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -3198,7 +3198,7 @@ int PyUnicode_Compare(PyObject *left, if (v == NULL) goto onError; - /* Shortcut for emtpy or interned objects */ + /* Shortcut for empty or interned objects */ if (v == u) { Py_DECREF(u); Py_DECREF(v); @@ -3385,7 +3385,7 @@ unicode_expandtabs(PyUnicodeObject *self, PyObject *args) if (!PyArg_ParseTuple(args, "|i:expandtabs", &tabsize)) return NULL; - /* First pass: determine size of ouput string */ + /* First pass: determine size of output string */ i = j = 0; e = self->str + self->length; for (p = self->str; p < e; p++) -- cgit v1.2.1