Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
documentation of arguments
#7
(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.
Reply


Messages In This Thread
documentation of arguments - by Skaperen - Nov-28-2016, 06:28 AM
RE: documentation of arguments - by stranac - Nov-28-2016, 08:58 AM
RE: documentation of arguments - by nilamo - Nov-29-2016, 11:04 PM
RE: documentation of arguments - by stranac - Nov-30-2016, 08:26 AM
RE: documentation of arguments - by Skaperen - Dec-02-2016, 07:56 AM
RE: documentation of arguments - by Larz60+ - Nov-28-2016, 03:51 PM
RE: documentation of arguments - by Larz60+ - Nov-28-2016, 06:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Functions (Arguments Passing,Changing a mutable ,Assignment to Arguments Names) Adelton 2 3,906 Mar-02-2017, 10:23 PM
Last Post: zivoni

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020