Skip to content

Commit 962cfc9

Browse files
committed
Format C code
1 parent a26910e commit 962cfc9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Modules/_pickle.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3671,11 +3671,12 @@ save_frozendict(PickleState *state, PicklerObject *self, PyObject *obj)
36713671
stack, and fetch the object back from the memo. */
36723672
if (PyMemoTable_Get(self->memo, obj)) {
36733673
const char pop_mark_op = POP_MARK;
3674-
3675-
if (_Pickler_Write(self, &pop_mark_op, 1) < 0)
3674+
if (_Pickler_Write(self, &pop_mark_op, 1) < 0) {
36763675
return -1;
3677-
if (memo_get(state, self, obj) < 0)
3676+
}
3677+
if (memo_get(state, self, obj) < 0) {
36783678
return -1;
3679+
}
36793680
return 0;
36803681
}
36813682

0 commit comments

Comments
 (0)