[issue26011] Document necesities for cmp argument of sorted

2019-11-15 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue26011] Document necesities for cmp argument of sorted

2019-11-15 Thread Batuhan
Batuhan added the comment: I agree with @josh.r, also for the key (and reverse), they are documented in py3.8. IMHO this issue can be resolved as not a bug. -- nosy: +BTaskaya ___ Python tracker

[issue26011] Document necesities for cmp argument of sorted

2016-01-04 Thread Karl Richter
New submission from Karl Richter: The docstring of `sorted` doesn't explain what can be passed to the `cmp` and `key` argument of `sorted`. -- assignee: docs@python components: Documentation messages: 257505 nosy: docs@python, krichter priority: normal severity: normal status: open

[issue26011] Document necesities for cmp argument of sorted

2016-01-04 Thread Josh Rosenberg
Josh Rosenberg added the comment: The docstring doesn't give details, but many docstrings don't. The docs themselves do; not sure it's a good idea to expand every docstring into complete documentation; if you don't know the function you read the real docs, the docstrings are useful as a