[New-bugs-announce] [issue34259] Improve docstring of list.sort

Tim Hoffmann report at bugs.python.org
Sat Jul 28 07:52:07 EDT 2018


New submission from Tim Hoffmann <tim.hoffmann at posteo.de>:

The current docstring of list.sort is just "Stable sort *IN PLACE*."

This is missing a description of the arguments key and reverse. Also a short explanation of stable and in-place would be helpful for less experienced users.

----------
messages: 322545
nosy: timhoffm
priority: normal
pull_requests: 8036
severity: normal
status: open
title: Improve docstring of list.sort
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34259>
_______________________________________


More information about the New-bugs-announce mailing list