summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib/transmogrify.h
diff options
context:
space:
mode:
authorXiang Zhang <angwerzx@126.com>2017-01-10 02:56:38 (GMT)
committerXiang Zhang <angwerzx@126.com>2017-01-10 02:56:38 (GMT)
commit7a4da324dc441687dd38c360343698cdaa4c6014 (patch)
tree7c1370b20e8073c4e0acdb66591276ce32556ef9 /Objects/stringlib/transmogrify.h
parent9ebb245db821910663f2ec7a9579fd8a68da325c (diff)
parent95403d74d7d17f51b50e68a10e0a0972ed77aa2a (diff)
downloadcpython-7a4da324dc441687dd38c360343698cdaa4c6014.zip
cpython-7a4da324dc441687dd38c360343698cdaa4c6014.tar.gz
cpython-7a4da324dc441687dd38c360343698cdaa4c6014.tar.bz2
Issue #29145: Merge 3.6.
Diffstat (limited to 'Objects/stringlib/transmogrify.h')
-rw-r--r--Objects/stringlib/transmogrify.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/transmogrify.h b/Objects/stringlib/transmogrify.h
index a314572..326ce14 100644
--- a/Objects/stringlib/transmogrify.h
+++ b/Objects/stringlib/transmogrify.h
@@ -261,7 +261,7 @@ stringlib_replace_interleave(PyObject *self,
assert(count > 0);
if (to_len > (PY_SSIZE_T_MAX - self_len) / count) {
PyErr_SetString(PyExc_OverflowError,
- "replace bytes are too long");
+ "replace bytes is too long");
return NULL;
}
result_len = count * to_len + self_len;