Skip to content

Commit b4a8026

Browse files
committed
Reduce diff
1 parent 25da453 commit b4a8026

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
@@ -1805,7 +1805,7 @@ encoder_encode_key_value(PyEncoderObject *s, PyUnicodeWriter *writer, bool *firs
18051805
Py_DECREF(keystr);
18061806

18071807
if (rv < 0) {
1808-
return rv;
1808+
return -1;
18091809
}
18101810
if (PyUnicodeWriter_WriteStr(writer, s->key_separator) < 0) {
18111811
return -1;

0 commit comments

Comments
 (0)