Skip to content

Commit 90296f0

Browse files
Merge branch 'gh-132042-precalc-mro-dict' of github.com:sergey-miryanov/cpython into gh-132042-precalc-mro-dict
2 parents 0d5375e + 7f4c9c7 commit 90296f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/typeobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11464,7 +11464,7 @@ fixup_slot_dispatchers(PyTypeObject *type)
1146411464

1146511465
PyObject *mro = Py_NewRef(lookup_tp_mro(type));
1146611466

11467-
// Try to prebuild MRO dict. We build it in bottom-top manner,
11467+
// Build MRO dict. We build it in bottom-top manner,
1146811468
// from bottom base to the top one, because the bottommost base
1146911469
// has more items then other and copying it is preferable than
1147011470
// merging.

0 commit comments

Comments
 (0)