summaryrefslogtreecommitdiffstats
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-03-08 16:13:44 +0100
committerBram Moolenaar <Bram@vim.org>2014-03-08 16:13:44 +0100
commit4de6a212f922aa132e9a76d0392bee3adfee6e29 (patch)
tree58b1735f079269f16446c85a93dd0dbad9275045 /src/if_py_both.h
parent47b8342abd3dfee39f5961dbb15883c3a95d8488 (diff)
updated for version 7.4.193v7.4.193
Problem: Typos in messages. Solution: "then" -> "than". (Dominique Pelle)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 2442220c08..4c9dd8b205 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -236,7 +236,7 @@ NumberToLong(PyObject *obj, long *result, int flags)
if (*result <= 0)
{
PyErr_SET_STRING(PyExc_ValueError,
- N_("number must be greater then zero"));
+ N_("number must be greater than zero"));
return -1;
}
}
@@ -2405,7 +2405,7 @@ ListAssSlice(ListObject *self, Py_ssize_t first,
if ((item = PyIter_Next(iterator)))
{
PyErr_FORMAT(PyExc_ValueError,
- N_("attempt to assign sequence of size greater then %d "
+ N_("attempt to assign sequence of size greater than %d "
"to extended slice"), 0);
Py_DECREF(item);
ret = -1;
@@ -2510,7 +2510,7 @@ ListAssSlice(ListObject *self, Py_ssize_t first,
{
Py_DECREF(iterator);
PyErr_FORMAT(PyExc_ValueError,
- N_("attempt to assign sequence of size greater then %d "
+ N_("attempt to assign sequence of size greater than %d "
"to extended slice"), (int) slicelen);
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
PyMem_Free(lis);