mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
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
This commit is contained in:
parent
d7202e4879
commit
893215a4e7
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue