diff options
author | Thomas Wouters <thomas@python.org> | 2000-07-16 12:04:32 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2000-07-16 12:04:32 (GMT) |
commit | 7e47402264cf87b9bbb61fc9ff610af08add7c7b (patch) | |
tree | 8103f0f2df8ca09de0b8cfd9d38b4982c6993f16 /Lib/codecs.py | |
parent | c533e4a01207f74b9c4f9a7414631a3c7b711595 (diff) | |
download | cpython-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/codecs.py')
-rw-r--r-- | Lib/codecs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py index fbb9824..2c1d835 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -273,7 +273,7 @@ class StreamReader(Codec): """ Resets the codec buffers used for keeping state. Note that no stream repositioning should take place. - This method is primarely intended to be able to recover + This method is primarily intended to be able to recover from decoding errors. """ @@ -295,7 +295,7 @@ class StreamReaderWriter: work in both read and write modes. The design is such that one can use the factory functions - returned by the codec.lookup() function to contruct the + returned by the codec.lookup() function to construct the instance. """ |