summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 +0000
commit6245cb3c015a5b9febef4d6ef30d3acfc762a79d (patch)
tree3e0a3907968edb89a7d24a051dab35c9a43f5dee /Python/codecs.c
parent7d82d0366bb6c1b175cf54cf87778bba2451b0f4 (diff)
downloadcpython-git-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.tar.gz
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation, code comments, and a debugging messages.
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/codecs.c b/Python/codecs.c
index d90bf7374d..fe57d0dc42 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -403,7 +403,7 @@ wrap_codec_error(const char *operation,
operation, encoding);
}
-/* Encode an object (e.g. an Unicode object) using the given encoding
+/* Encode an object (e.g. a Unicode object) using the given encoding
and return the resulting encoded object (usually a Python string).
errors is passed to the encoder factory as argument if non-NULL. */
@@ -450,7 +450,7 @@ _PyCodec_EncodeInternal(PyObject *object,
}
/* Decode an object (usually a Python string) using the given encoding
- and return an equivalent object (e.g. an Unicode object).
+ and return an equivalent object (e.g. a Unicode object).
errors is passed to the decoder factory as argument if non-NULL. */