[docs] [issue14050] Tutorial, list.sort() and items comparability

Andy Maier report at bugs.python.org
Mon Jul 7 12:59:06 CEST 2014


Andy Maier added the comment:

Comments on v2 of both patches:

1. The paragraph "Each item needs to ..." describes the requirement in terms of "ordering relationships between items". It would be both simpler and less ambiguous to describe the requirement in terms of "type must be orderable". See the text added to sorted() as part of the patch for issue10289, for details.

----------

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


More information about the docs mailing list