Skip to content
Merged
Prev Previous commit
Next Next commit
Merge branch 'main' into pymodule-add3
  • Loading branch information
serhiy-storchaka committed Jul 10, 2023
commit 4ecdbe9999a7a6c40057568fcd016ea9dafe914a
4 changes: 2 additions & 2 deletions Modules/_decimal/_decimal.c
Original file line number Diff line number Diff line change
Expand Up @@ -6035,8 +6035,8 @@ PyInit__decimal(void)

/* Init string constants */
for (i = 0; i < _PY_DEC_ROUND_GUARD; i++) {
ASSIGN_PTR(round_map[i], PyUnicode_InternFromString(mpd_round_string[i]));
CHECK_INT(PyModule_AddObjectRef(m, mpd_round_string[i], round_map[i]));
ASSIGN_PTR(state->round_map[i], PyUnicode_InternFromString(mpd_round_string[i]));
CHECK_INT(PyModule_AddObjectRef(m, mpd_round_string[i], state->round_map[i]));
}

/* Add specification version number */
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.