[docs] [issue22237] sorted() docs should state that the sort is stable

Georg Brandl report at bugs.python.org
Tue Oct 14 20:16:13 CEST 2014

Georg Brandl added the comment:

PyId_sort is not a function, it's a somewhat complicated way of getting a Python string "sort" (in this case, for looking up a method using PyObject_GetAttrId).  The string object is cached, with is faster than constructing one every time with PyObject_GetAttrString.


Python tracker <report at bugs.python.org>

More information about the docs mailing list