Message390122
According to the docs, the sorted function's signature is:
sorted(iterable, *, key=None, reverse=False)
But when printing its help interactively, the signature is:
sorted(iterable, /, *, key=None, reverse=False)
The latter seems to be the correct one, as calling sorted(iterable=arr) will raise a TypeError.
The signature in the docs should be fixed. |
|
Date |
User |
Action |
Args |
2021-04-03 12:33:39 | tomer.kalish91 | set | recipients:
+ tomer.kalish91, docs@python |
2021-04-03 12:33:39 | tomer.kalish91 | set | messageid: <1617453219.6.0.129506817169.issue43713@roundup.psfhosted.org> |
2021-04-03 12:33:39 | tomer.kalish91 | link | issue43713 messages |
2021-04-03 12:33:39 | tomer.kalish91 | create | |
|