diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 06:39:28 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-04-17 06:39:28 (GMT) |
commit | b6a9c9761ca988e1ab69defd45433fac0b2ff89c (patch) | |
tree | 0071290253b0ef28f62f3f22d69be89db2abad50 /Modules/_pickle.c | |
parent | 5562563dd4a745ecac8e6830b2a15042beb5dd47 (diff) | |
parent | 6a7b3a77b4b2be0badd24ee5f0fdbaa2e0e79c3d (diff) | |
download | cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.zip cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.gz cpython-b6a9c9761ca988e1ab69defd45433fac0b2ff89c.tar.bz2 |
Issue #26778: Fixed "a/an/and" typos in code comment, documentation and error
messages.
Diffstat (limited to 'Modules/_pickle.c')
-rw-r--r-- | Modules/_pickle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_pickle.c b/Modules/_pickle.c index 545f0a4..fdd60e0 100644 --- a/Modules/_pickle.c +++ b/Modules/_pickle.c @@ -4465,7 +4465,7 @@ Pickler_set_memo(PicklerObject *self, PyObject *obj) } else { PyErr_Format(PyExc_TypeError, - "'memo' attribute must be an PicklerMemoProxy object" + "'memo' attribute must be a PicklerMemoProxy object" "or dict, not %.200s", Py_TYPE(obj)->tp_name); return -1; } @@ -4703,7 +4703,7 @@ calc_binsize(char *bytes, int nbytes) /* s contains x bytes of a little-endian integer. Return its value as a * C int. Obscure: when x is 1 or 2, this is an unsigned little-endian - * int, but when x is 4 it's a signed one. This is an historical source + * int, but when x is 4 it's a signed one. This is a historical source * of x-platform bugs. */ static long |