mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.12] Docs: align the param spec of sqlite3.Connection methods with the implementation (GH-108285) (#108287)
Docs: align the param spec of sqlite3.Connection methods with the implementation (GH-108285)
- no parameters of create_aggregate() are positional-only
- all parameters of create_collation() are positional-only
(cherry picked from commit 893215a4e7)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
This commit is contained in:
parent
e5d779c0e2
commit
68fd6db981
1 changed files with 2 additions and 2 deletions
|
|
@ -755,7 +755,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.
|
||||
|
||||
|
|
@ -895,7 +895,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