mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
gh-79097: Add support for aggregate window functions in sqlite3 (GH-20903)
This commit is contained in:
parent
f45aa8f304
commit
9ebcece82f
10 changed files with 477 additions and 13 deletions
|
@ -630,8 +630,10 @@ module_clear(PyObject *module)
|
|||
Py_CLEAR(state->str___conform__);
|
||||
Py_CLEAR(state->str_executescript);
|
||||
Py_CLEAR(state->str_finalize);
|
||||
Py_CLEAR(state->str_inverse);
|
||||
Py_CLEAR(state->str_step);
|
||||
Py_CLEAR(state->str_upper);
|
||||
Py_CLEAR(state->str_value);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -717,8 +719,10 @@ module_exec(PyObject *module)
|
|||
ADD_INTERNED(state, __conform__);
|
||||
ADD_INTERNED(state, executescript);
|
||||
ADD_INTERNED(state, finalize);
|
||||
ADD_INTERNED(state, inverse);
|
||||
ADD_INTERNED(state, step);
|
||||
ADD_INTERNED(state, upper);
|
||||
ADD_INTERNED(state, value);
|
||||
|
||||
/* Set error constants */
|
||||
if (add_error_constants(module) < 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue