diff options
author | Erlend E. Aasland <erlend@python.org> | 2023-08-22 13:20:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 13:20:58 (GMT) |
commit | 893215a4e7f59eabb8ccdf188c4b9b1de5bd8966 (patch) | |
tree | ffbd0947f361bf95a4dacdbed77c832aa0df8852 /Doc/library/sqlite3.rst | |
parent | d7202e4879bf4e7e00a69500ddcb3143864139b4 (diff) | |
download | cpython-893215a4e7f59eabb8ccdf188c4b9b1de5bd8966.zip cpython-893215a4e7f59eabb8ccdf188c4b9b1de5bd8966.tar.gz cpython-893215a4e7f59eabb8ccdf188c4b9b1de5bd8966.tar.bz2 |
Docs: align the param spec of sqlite3.Connection methods with the implementation (#108285)
- no parameters of create_aggregate() are positional-only
- all parameters of create_collation() are positional-only
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r-- | Doc/library/sqlite3.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index d2745b0..0b53f97 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -764,7 +764,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. @@ -904,7 +904,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 <str>` arguments, |