Skip to content

Commit d5b816d

Browse files
author
Erlend E. Aasland
committed
Reword docstring
1 parent 9355614 commit d5b816d

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Modules/_sqlite/clinic/connection.c.h

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Modules/_sqlite/connection.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,8 +1076,7 @@ _sqlite3.Connection.create_window_function as create_window_function
10761076
The name of the SQL aggregate window function to be created or
10771077
redefined.
10781078
num_params: int
1079-
The number of arguments that the SQL aggregate window function
1080-
takes.
1079+
The number of arguments the step and inverse methods takes.
10811080
aggregate_class: object
10821081
A class with step(), finalize(), value(), and inverse() methods.
10831082
Set to None to clear the window function.
@@ -1090,7 +1089,7 @@ static PyObject *
10901089
create_window_function_impl(pysqlite_Connection *self, PyTypeObject *cls,
10911090
const char *name, int num_params,
10921091
PyObject *aggregate_class)
1093-
/*[clinic end generated code: output=5332cd9464522235 input=258eac1970a0947e]*/
1092+
/*[clinic end generated code: output=5332cd9464522235 input=46d57a54225b5228]*/
10941093
{
10951094
if (sqlite3_libversion_number() < 3025000) {
10961095
PyErr_SetString(self->NotSupportedError,

0 commit comments

Comments
 (0)