Kaydet (Commit) 9ca3ffac authored tarafından Benjamin Peterson's avatar Benjamin Peterson

== -1 is convention

üst e157cf10
......@@ -8770,7 +8770,7 @@ _PyUnicode_TranslateCharmap(PyObject *input,
collstart, collend, &newpos);
if (repunicode == NULL)
goto onError;
if (PyUnicode_READY(repunicode) < 0) {
if (PyUnicode_READY(repunicode) == -1) {
Py_DECREF(repunicode);
goto onError;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment