Dec-02-2016, 07:56 AM
(Nov-29-2016, 11:04 PM)nilamo Wrote: But then again, the docs for 3.0's sorted do indicate that they're keyword only:
[quote="https://docs.python.org/3.6/library/func...tml#sorted"]sorted(iterable[, key][, reverse])
Return a new sorted list from the items in iterable.
Has two optional arguments which must be specified as keyword arguments.
my bad, reading the docs for sorted in version 2 and version 3 side by side seems to leave me confused.
and that feature of combing one-after-another posts to same thread with a long horizontal rule between them seems to leave the reply editing confused. that long horizontal rule gets in the reply and can't be removed.
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.