File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -675,7 +675,7 @@ dict_items(mp, args)
675675}
676676
677677static PyObject *
678- dict_absorb (mp , args )
678+ dict_update (mp , args )
679679 register dictobject * mp ;
680680 PyObject * args ;
681681{
@@ -685,7 +685,7 @@ dict_absorb(mp, args)
685685 if (!PyArg_Parse (args , "O!" , & PyDict_Type , & other ))
686686 return NULL ;
687687 if (other == mp )
688- goto done ; /* a.absorb (a); nothing to do */
688+ goto done ; /* a.update (a); nothing to do */
689689 /* Do one big resize at the start, rather than incrementally
690690 resizing as we insert new items. Expect that there will be
691691 no (or few) overlapping keys. */
@@ -963,7 +963,7 @@ dict_clear(mp, args)
963963}
964964
965965static PyMethodDef mapp_methods [] = {
966- {"absorb " , (PyCFunction )dict_absorb },
966+ {"update " , (PyCFunction )dict_update },
967967 {"clear" , (PyCFunction )dict_clear },
968968 {"copy" , (PyCFunction )dict_copy },
969969 {"has_key" , (PyCFunction )dict_has_key },
You can’t perform that action at this time.
0 commit comments