Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation and code comments.
diff --git a/Include/stringobject.h b/Include/stringobject.h
index 18b5b41..12cc093 100644
--- a/Include/stringobject.h
+++ b/Include/stringobject.h
@@ -129,7 +129,7 @@
/* Encodes a string object and returns the result as Python string
object.
- If the codec returns an Unicode object, the object is converted
+ If the codec returns a Unicode object, the object is converted
back to a string using the default encoding.
DEPRECATED - use PyString_AsEncodedObject() instead. */
@@ -152,7 +152,7 @@
/* Decodes a string object and returns the result as Python string
object.
- If the codec returns an Unicode object, the object is converted
+ If the codec returns a Unicode object, the object is converted
back to a string using the default encoding.
DEPRECATED - use PyString_AsDecodedObject() instead. */
@@ -164,7 +164,7 @@
);
/* Provides access to the internal data buffer and size of a string
- object or the default encoded version of an Unicode object. Passing
+ object or the default encoded version of a Unicode object. Passing
NULL as *len parameter will force the string buffer to be
0-terminated (passing a string with embedded NULL characters will
cause an exception). */