Skip to content

Commit 2bc90ce

Browse files
authored
edit a comment
1 parent fee63c4 commit 2bc90ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Objects/typeobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5297,7 +5297,8 @@ get_base_by_token_recursive(PyTypeObject *type, void *token)
52975297
Py_ssize_t n = PyTuple_GET_SIZE(bases);
52985298
for (Py_ssize_t i = 0; i < n; i++) {
52995299
PyTypeObject *base = _PyType_CAST(PyTuple_GET_ITEM(bases, i));
5300-
// The MRO version can slow down if this takes the same approach
5300+
// The MRO version can slow down if this takes the same approach,
5301+
// which affects the similar loop in PyType_GetModuleByDef().
53015302
if (PyType_GetSlot(base, Py_tp_token) == token) {
53025303
return base;
53035304
}

0 commit comments

Comments
 (0)