summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2016-04-15 02:14:19 (GMT)
commit6a8163a928f9ff04242580c09216431ddd39cdbc (patch)
treef488fcfc631d8663003cd5784bba970d3e6438f9 /Python/codecs.c
parent8feff8f1ddf870f4a68facf7127097cec97ebc39 (diff)
downloadcpython-6a8163a928f9ff04242580c09216431ddd39cdbc.zip
cpython-6a8163a928f9ff04242580c09216431ddd39cdbc.tar.gz
cpython-6a8163a928f9ff04242580c09216431ddd39cdbc.tar.bz2
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
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 d672362..dbecd1d 100644
--- a/Python/codecs.c
+++ b/Python/codecs.c
@@ -334,7 +334,7 @@ PyObject *PyCodec_StreamWriter(const char *encoding,
return codec_getstreamcodec(encoding, stream, errors, 3);
}
-/* 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. */
@@ -379,7 +379,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. */