]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add keywords to MutableList.sort()
authorMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2020 17:28:18 +0000 (12:28 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Thu, 23 Jan 2020 17:29:39 +0000 (12:29 -0500)
commit63f27094a225f0366739452ab60adfe4602a5360
treef1fbac3374514a3dc02e8e38f8c08cd87fb3285e
parent3c74e877aa28fc0a840d281f6b3b3d059a42b5bf
Add keywords to MutableList.sort()

Added keyword arguments to the :meth:`.MutableList.sort` function so that a
key function as well as the "reverse" keyword argument can be provided.

Fixes: #5114
Change-Id: Iefb29e1ccadfad6ecba558ce575029307001b88e
(cherry picked from commit b98403f0c269a1073e8e25599d4a98147cfa425f)
doc/build/changelog/unreleased_13/5114.rst [new file with mode: 0644]
lib/sqlalchemy/ext/mutable.py
test/ext/test_mutable.py