From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 22 Aug 2023 13:28:38 +0000 (-0700) Subject: [3.11] Docs: align the param spec of sqlite3.Connection methods with the implementati... X-Git-Tag: v3.11.5~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d22ac0c6052c4e568c316ce3ce194fdf86d9af87;p=thirdparty%2FPython%2Fcpython.git [3.11] Docs: align the param spec of sqlite3.Connection methods with the implementation (GH-108285) (#108288) - no parameters of create_aggregate() are positional-only - all parameters of create_collation() are positional-only (cherry picked from commit 893215a4e7f59eabb8ccdf188c4b9b1de5bd8966) Co-authored-by: Erlend E. Aasland --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 13e61b3d6800..53c21aed2d60 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -679,7 +679,7 @@ Connection objects ('acbd18db4cc2f85cedef654fccc4a4d8',) - .. method:: create_aggregate(name, /, n_arg, aggregate_class) + .. method:: create_aggregate(name, n_arg, aggregate_class) Create or remove a user-defined SQL aggregate function. @@ -819,7 +819,7 @@ Connection objects [('a', 9), ('b', 12), ('c', 16), ('d', 12), ('e', 9)] - .. method:: create_collation(name, callable) + .. method:: create_collation(name, callable, /) Create a collation named *name* using the collating function *callable*. *callable* is passed two :class:`string ` arguments,