@@ -1278,7 +1278,7 @@ insert_into_dictkeys(PyDictKeysObject *keys, PyObject *name)
1278
1278
1279
1279
1280
1280
static inline int
1281
- insert_unsplit_dict (PyInterpreterState * interp , PyDictObject * mp ,
1281
+ insert_combined_dict (PyInterpreterState * interp , PyDictObject * mp ,
1282
1282
Py_hash_t hash , PyObject * key , PyObject * value , int unicode )
1283
1283
{
1284
1284
if (mp -> ma_keys -> dk_usable <= 0 ) {
@@ -1325,7 +1325,7 @@ insert_split_dict(PyInterpreterState *interp, PyDictObject *mp,
1325
1325
assert (!_PyDict_HasSplitTable (mp ));
1326
1326
assert (DK_IS_UNICODE (keys ));
1327
1327
UNLOCK_KEYS (keys );
1328
- return insert_unsplit_dict (interp , mp , hash , key , value , 1 );
1328
+ return insert_combined_dict (interp , mp , hash , key , value , 1 );
1329
1329
}
1330
1330
1331
1331
Py_ssize_t hashpos = find_empty_slot (keys , hash );
@@ -1406,7 +1406,7 @@ insertdict(PyInterpreterState *interp, PyDictObject *mp,
1406
1406
1407
1407
int unicode = DK_IS_UNICODE (mp -> ma_keys );
1408
1408
if (!unicode || !_PyDict_HasSplitTable (mp )) {
1409
- if (insert_unsplit_dict (interp , mp , hash , key , value , unicode ) < 0 ) {
1409
+ if (insert_combined_dict (interp , mp , hash , key , value , unicode ) < 0 ) {
1410
1410
goto Fail ;
1411
1411
}
1412
1412
} else {
@@ -3819,7 +3819,7 @@ dict_setdefault_ref_lock_held(PyObject *d, PyObject *key, PyObject *default_valu
3819
3819
3820
3820
int unicode = DK_IS_UNICODE (mp -> ma_keys );
3821
3821
if (!unicode || !_PyDict_HasSplitTable (mp )) {
3822
- if (insert_unsplit_dict (interp , mp , hash , Py_NewRef (key ), Py_NewRef (value ), unicode ) < 0 ) {
3822
+ if (insert_combined_dict (interp , mp , hash , Py_NewRef (key ), Py_NewRef (value ), unicode ) < 0 ) {
3823
3823
Py_DECREF (key );
3824
3824
Py_DECREF (value );
3825
3825
if (result ) {
0 commit comments