summaryrefslogtreecommitdiffstats
path: root/Modules
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)
commit6245cb3c015a5b9febef4d6ef30d3acfc762a79d (patch)
tree3e0a3907968edb89a7d24a051dab35c9a43f5dee /Modules
parent7d82d0366bb6c1b175cf54cf87778bba2451b0f4 (diff)
downloadcpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.zip
cpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.tar.gz
cpython-6245cb3c015a5b9febef4d6ef30d3acfc762a79d.tar.bz2
Correct “an” → “a” with “Unicode”, “user”, “UTF”, etc
This affects documentation, code comments, and a debugging messages.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_heapqmodule.c2
-rw-r--r--Modules/_pickle.c2
-rw-r--r--Modules/_tracemalloc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_heapqmodule.c b/Modules/_heapqmodule.c
index c343862..136abf5 100644
--- a/Modules/_heapqmodule.c
+++ b/Modules/_heapqmodule.c
@@ -550,7 +550,7 @@ representation for a tournament. The numbers below are `k', not a[k]:\n\
\n\
\n\
In the tree above, each cell `k' is topping `2*k+1' and `2*k+2'. In\n\
-an usual binary tournament we see in sports, each cell is the winner\n\
+a usual binary tournament we see in sports, each cell is the winner\n\
over the two cells it tops, and we can trace the winner down the tree\n\
to see all opponents s/he had. However, in many computer applications\n\
of such tournaments, we do not need to trace the history of a winner.\n\
diff --git a/Modules/_pickle.c b/Modules/_pickle.c
index 1acf14a..78cfe20 100644
--- a/Modules/_pickle.c
+++ b/Modules/_pickle.c
@@ -1096,7 +1096,7 @@ _Unpickler_SkipConsumed(UnpicklerObject *self)
return 0;
assert(self->peek); /* otherwise we did something wrong */
- /* This makes an useless copy... */
+ /* This makes a useless copy... */
r = PyObject_CallFunction(self->read, "n", consumed);
if (r == NULL)
return -1;
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
index 6327c95..60c1b06 100644
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -296,7 +296,7 @@ tracemalloc_get_frame(PyFrameObject *pyframe, frame_t *frame)
if (!PyUnicode_Check(filename)) {
#ifdef TRACE_DEBUG
- tracemalloc_error("filename is not an unicode string");
+ tracemalloc_error("filename is not a unicode string");
#endif
return;
}