diff options
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. """ |