Update clinic

This commit is contained in:
Erlend E. Aasland 2020-12-28 00:03:27 +01:00
parent 2c6c805f77
commit a36a1a58a4
No known key found for this signature in database
GPG Key ID: E323E17E686C7B5F
2 changed files with 3 additions and 3 deletions

View File

@ -169,7 +169,7 @@ PyDoc_STRVAR(pysqlite_connection_create_window_function__doc__,
" n_arg\n"
" The number of arguments that the SQL aggregate window function takes\n"
" aggregate_class\n"
" A class with step(), final(), value(), and inverse() methods");
" A class with step(), final(), value(), and inverse() methods. Set to None to clear the window function.");
#define PYSQLITE_CONNECTION_CREATE_WINDOW_FUNCTION_METHODDEF \
{"create_window_function", (PyCFunction)(void(*)(void))pysqlite_connection_create_window_function, METH_FASTCALL|METH_KEYWORDS, pysqlite_connection_create_window_function__doc__},
@ -814,4 +814,4 @@ exit:
#ifndef PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
#define PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF
#endif /* !defined(PYSQLITE_CONNECTION_LOAD_EXTENSION_METHODDEF) */
/*[clinic end generated code: output=00f2cfe66b120e2a input=a9049054013a1b77]*/
/*[clinic end generated code: output=ba7f3caaa6e6bec3 input=a9049054013a1b77]*/

View File

@ -1036,7 +1036,7 @@ pysqlite_connection_create_window_function_impl(pysqlite_Connection *self,
int deterministic,
int directonly,
int innocuous)
/*[clinic end generated code: output=e8710bde81dddd89 input=a96bcee8ef6f754c]*/
/*[clinic end generated code: output=e8710bde81dddd89 input=699c308c45326ad3]*/
#ifdef HAVE_WINDOW_FUNCTIONS
{
if (sqlite3_libversion_number() < 3025000) {