[Python-checkins] cpython (3.1): fix poor spelling

benjamin.peterson python-checkins at python.org
Mon Apr 14 18:16:28 CEST 2014


http://hg.python.org/cpython/rev/c7b93519807a
changeset: 90264:c7b93519807a
branch: 3.1
parent: 90256:4bd1fb0f4f44
user: Benjamin Peterson <benjamin at python.org>
date: Mon Apr 14 12:15:28 2014 -0400
summary:
 fix poor spelling
files:
 Modules/_json.c | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/_json.c b/Modules/_json.c
--- a/Modules/_json.c
+++ b/Modules/_json.c
@@ -903,7 +903,7 @@
 Py_UNICODE *str = PyUnicode_AS_UNICODE(pystr);
 Py_ssize_t length = PyUnicode_GET_SIZE(pystr);
 if (idx < 0) {
- PyErr_SetString(PyExc_ValueError, "idx canont be negative");
+ PyErr_SetString(PyExc_ValueError, "idx cannot be negative");
 return NULL;
 }
 if (idx >= length) {
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /