[issue43713] sorted() signature is not accurate in the documentation

2021-04-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: There is moratorium on the / notation in the main docs. If that moratorium is lifted, we sweep through the docs and apply it. -- nosy: +rhettinger resolution: -> later stage: -> resolved status: open -> closed

[issue43713] sorted() signature is not accurate in the documentation

2021-04-03 Thread Tomer Kalish
New submission from Tomer Kalish : 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