summaryrefslogtreecommitdiff
path: root/Modules/sunaudiodev.c
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
commit7e47402264cf87b9bbb61fc9ff610af08add7c7b (patch)
tree8103f0f2df8ca09de0b8cfd9d38b4982c6993f16 /Modules/sunaudiodev.c
parentc533e4a01207f74b9c4f9a7414631a3c7b711595 (diff)
downloadcpython-git-7e47402264cf87b9bbb61fc9ff610af08add7c7b.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 'Modules/sunaudiodev.c')
-rw-r--r--Modules/sunaudiodev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/sunaudiodev.c b/Modules/sunaudiodev.c
index 5ef2c0681c..d4e5ec91b3 100644
--- a/Modules/sunaudiodev.c
+++ b/Modules/sunaudiodev.c
@@ -258,7 +258,7 @@ sad_obufcount(sadobject *self, PyObject *args)
PyErr_SetFromErrno(SunAudioError);
return NULL;
}
- /* x_ocount is in bytes, wheras play.samples is in frames */
+ /* x_ocount is in bytes, whereas play.samples is in frames */
/* we want frames */
return PyInt_FromLong(self->x_ocount / (ai.play.channels *
ai.play.precision / 8) -