1
help(sorted)

sorted(iterable, /, *, key=None, reverse=False)

What can I pass to / and * for example and how would it be useful?

David
  • 2,926
  • 1
  • 27
  • 61
  • 1
    Can you link the docs you're looking at? I'm looking at https://docs.python.org/3/library/functions.html#sorted but that doesn't match what you have provided. –  Apr 05 '19 at 19:08
  • 2
    Also: https://stackoverflow.com/questions/14301967/bare-asterisk-in-function-arguments – UnholySheep Apr 05 '19 at 19:12

0 Answers0