8000 Docs: align the param spec of sqlite3.Connection methods with the implementation by erlend-aasland · Pull Request #108285 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: align the param spec of sqlite3.Connection methods with the implementation #108285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Docs: align the param spec of sqlite3.Connection methods with the imp…
…lementation

- no parameters of create_aggregate() are positional-only
- all parameters of create_collation() are positional-only
  • Loading branch information
erlend-aasland committed Aug 22, 2023
commit 8d3cc81e5ea90b2ea5438cf46223e7e14619aeb6
4 changes: 2 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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,
Expand Down
0