summaryrefslogtreecommitdiffstats
path: root/Lib/sunau.py
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2000-07-16 12:04:32 (GMT)
committerThomas Wouters <thomas@python.org>2000-07-16 12:04:32 (GMT)
commit7e47402264cf87b9bbb61fc9ff610af08add7c7b (patch)
tree8103f0f2df8ca09de0b8cfd9d38b4982c6993f16 /Lib/sunau.py
parentc533e4a01207f74b9c4f9a7414631a3c7b711595 (diff)
downloadcpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.zip
cpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.tar.gz
cpython-7e47402264cf87b9bbb61fc9ff610af08add7c7b.tar.bz2
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 'Lib/sunau.py')
-rw-r--r--Lib/sunau.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/sunau.py b/Lib/sunau.py
index 5e8ac32..940cfd4 100644
--- a/Lib/sunau.py
+++ b/Lib/sunau.py
@@ -63,7 +63,7 @@ This returns an instance of a class with the following public methods:
tell() -- return the current position
close() -- close the instance (make it unusable)
The position returned by tell() and the position given to setpos()
-are compatible and have nothing to do with the actual postion in the
+are compatible and have nothing to do with the actual position in the
file.
The close() method is called automatically when the class instance
is destroyed.
@@ -170,7 +170,7 @@ class Au_read:
if self._hdr_size < 24:
raise Error, 'header size too small'
if self._hdr_size > 100:
- raise Error, 'header size rediculously large'
+ raise Error, 'header size ridiculously large'
self._data_size = _read_u32(file)
if self._data_size != AUDIO_UNKNOWN_SIZE:
self._data_size = int(self._data_size)