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

Mark Dickinson report at bugs.python.org
Wed Oct 15 10:38:26 CEST 2014


Mark Dickinson added the comment:

> when I grep the code, I don't find it

The non-greppability is due to preprocessor evil. The culprit is this macro from Include/object.h:

  #define _Py_IDENTIFIER(varname) _Py_static_string(PyId_##varname, #varname)

along with the declaration

  _Py_IDENTIFIER(sort);

earlier in bltinmodule.c.

----------
nosy: +mark.dickinson

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22237>
_______________________________________


More information about the docs mailing list