mirror of
https://github.com/python/cpython.git
synced 2025-10-09 16:34:44 +00:00
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:
parent
314464d0ab
commit
7462b64911
86 changed files with 136 additions and 136 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue