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
or edited some other way to fix the grammar.
This commit is contained in:
Martin Panter 2015-11-02 03:37:02 +00:00
parent 314464d0ab
commit 7462b64911
86 changed files with 136 additions and 136 deletions

View file

@ -256,7 +256,7 @@ class IncrementalDecoder(object):
"""
def __init__(self, errors='strict'):
"""
Create a IncrementalDecoder instance.
Create an IncrementalDecoder instance.
The IncrementalDecoder may use different error handling schemes by
providing the errors keyword argument. See the module docstring
@ -1007,7 +1007,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.
@ -1025,7 +1025,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.