Sujet : Re: Baby X is bor nagain
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 19. Jun 2024, 11:27:04
Autres entêtes
Organisation : None to speak of
Message-ID : <87le31xoyf.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
David Brown <
david.brown@hesbynett.no> writes:
[...]
Python "sort" is a bit like C "qsort" (desperately trying to relate
this to the group topicality) in that you can define your own
comparison function, and use that for "sort". For simple comparison
functions, people often use lambdas, for more complicated ones it's
clearer to define a function with a name.
Not exactly (see the Python documentation), but this isn't the place to
go into the details.
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */