mirror of
https://github.com/python/cpython.git
synced 2026-05-09 22:20:38 -04:00
96a2a80065
PySequence_Size(), not PyObject_Size(): the later considers the mapping methods as well as the sequence methods, which is not needed here. Either should be equally fast in this case, but PySequence_Size() offers a better conceptual match.