diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-02 03:37:02 (GMT) |
commit | b362f75f6e5d8fe21d0cda740f9dcdf1976091f7 (patch) | |
tree | 1b7f020b0403e2378879af5c7e3cdeba27990dc2 /Lib/codecs.py | |
parent | 8c6849bfe6ccc0e508e23df385b4ca61c7e00236 (diff) | |
download | cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.zip cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.gz cpython-b362f75f6e5d8fe21d0cda740f9dcdf1976091f7.tar.bz2 |
Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r-- | Lib/codecs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py index 3d9be35..590238e 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -252,7 +252,7 @@ class IncrementalDecoder(object): """ def __init__(self, errors='strict'): """ - Creates a IncrementalDecoder instance. + Creates an IncrementalDecoder instance. The IncrementalDecoder may use different error handling schemes by providing the errors keyword argument. See the module docstring @@ -1012,7 +1012,7 @@ def iterencode(iterator, encoding, errors='strict', **kwargs): """ Encoding iterator. - Encodes the input strings from the iterator using a IncrementalEncoder. + Encodes the input strings from the iterator using an IncrementalEncoder. errors and kwargs are passed through to the IncrementalEncoder constructor. @@ -1030,7 +1030,7 @@ def iterdecode(iterator, encoding, errors='strict', **kwargs): """ Decoding iterator. - Decodes the input strings from the iterator using a IncrementalDecoder. + Decodes the input strings from the iterator using an IncrementalDecoder. errors and kwargs are passed through to the IncrementalDecoder constructor. |