[Chris Angelico]

> Because your form cannot possibly work without some additional
> information.


That isn't my form. That's PSEUDO CODE. Just like I wrote above it.
You're the one who's not listening.

 The alternative I've suggested, for the thousanth time, is:

hand = sorted(cards, by=card.suit with card)

or

hand = sorted(cards, by=card.suit with(card))

The noise compared to the PSEUDO CODE looks like this:

hand = sorted(cards, by=card.suit ##########)

Which, to me, is preferable to:

hand = sorted(cards, ke#=#############card.suit)

You need me to type that out a few dozen more times?
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to