[docs] [issue35956] Sort documentation could be improved for complex sorting

SilentGhost report at bugs.python.org
Sun Feb 10 11:37:46 EST 2019


SilentGhost <ghost.adh at runbox.com> added the comment:

Is this not equivalent to the following?

  sorted(points, key=lambda p: (p.y, p.x))

----------
nosy: +SilentGhost

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35956>
_______________________________________


More information about the docs mailing list