mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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 ;)
This commit is contained in:
parent
c533e4a012
commit
7e47402264
102 changed files with 184 additions and 184 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue