From 7462b64911f1e2df2de2285ddbf8b156b5cdc418 Mon Sep 17 00:00:00 2001 From: Martin Panter Date: Mon, 2 Nov 2015 03:37:02 +0000 Subject: 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. --- Lib/codecs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Lib/codecs.py') diff --git a/Lib/codecs.py b/Lib/codecs.py index 4a4d0432720..6cdf3f4f6c0 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -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. -- cgit v1.2.3