8000 fix poor spelling · python/cpython@49991de · GitHub
[go: up one dir, main page]

Skip to content

Commit 49991de

Browse files
committed
fix poor spelling
1 parent 6ef2b36 commit 49991de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_json.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ scan_once_unicode(PyScannerObject *s, PyObject *pystr, Py_ssize_t idx, Py_ssize_
931931
Py_UNICODE *str = PyUnicode_AS_UNICODE(pystr);
932932
Py_ssize_t length = PyUnicode_GET_SIZE(pystr);
933933
if (idx < 0) {
934-
PyErr_SetString(PyExc_ValueError, "idx canont be negative");
934+
PyErr_SetString(PyExc_ValueError, "idx cannot be negative");
935935
return NULL;
936936
}
937937
if (idx >= length) {

0 commit comments

Comments
 (0)
0