summaryrefslogtreecommitdiff
path: root/Include/cobject.h
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-16 12:04:32 +0000
committerThomas Wouters <thomas@python.org>2000-07-16 12:04:32 +0000
commit764fa07469563f448c0ab6a20dad3943e4231ce5 (patch)
tree44b099de81d99a0e892ef5afbf5f49abf2dd98aa /Include/cobject.h
parent68d8117162e83550ba7f5c949f6fbea19d1d3cc0 (diff)
downloadcpython-764fa07469563f448c0ab6a20dad3943e4231ce5.tar.gz
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 ;)
Diffstat (limited to 'Include/cobject.h')
-rw-r--r--Include/cobject.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/cobject.h b/Include/cobject.h
index 15850d916e..e7b75f59fb 100644
--- a/Include/cobject.h
+++ b/Include/cobject.h
@@ -28,7 +28,7 @@ extern DL_IMPORT(PyTypeObject) PyCObject_Type;
#define PyCObject_Check(op) ((op)->ob_type == &PyCObject_Type)
/* Create a PyCObject from a pointer to a C object and an optional
- destrutor function. If the second argument is non-null, then it
+ destructor function. If the second argument is non-null, then it
will be called with the first argument if and when the PyCObject is
destroyed.
@@ -38,7 +38,7 @@ PyCObject_FromVoidPtr(void *cobj, void (*destruct)(void*));
/* Create a PyCObject from a pointer to a C object, a description object,
- and an optional destrutor function. If the third argument is non-null,
+ and an optional destructor function. If the third argument is non-null,
then it will be called with the first and second arguments if and when
the PyCObject is destroyed.
*/