Skip to content
Prev Previous commit
Next Next commit
Reduce diff
  • Loading branch information
nineteendo committed Jun 10, 2025
commit b4a802674bb4ae892109c6ec3af728f6938f81a5
2 changes: 1 addition & 1 deletion Modules/_json.c
Original file line number Diff line number Diff line change
Expand Up @@ -1805,7 +1805,7 @@ encoder_encode_key_value(PyEncoderObject *s, PyUnicodeWriter *writer, bool *firs
Py_DECREF(keystr);

if (rv < 0) {
return rv;
return -1;
}
if (PyUnicodeWriter_WriteStr(writer, s->key_separator) < 0) {
return -1;
Expand Down
Loading