diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-04-14 12:15:28 -0400 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-04-14 12:15:28 -0400 |
commit | 6bc02a70b13809880b296947f37e598086005fb8 (patch) | |
tree | c653582c3c1f45b904e1e4d3ccdc3d8da99d359d | |
parent | 481c7b90589e7a3ef34e44a7d6dd3dd38a8158be (diff) | |
download | cpython-6bc02a70b13809880b296947f37e598086005fb8.tar.gz |
fix poor spelling
-rw-r--r-- | Modules/_json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_json.c b/Modules/_json.c index b1c3108cbc..595d6c89f4 100644 --- a/Modules/_json.c +++ b/Modules/_json.c @@ -903,7 +903,7 @@ scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_ 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) { |