summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-08-28 13:04:27 (GMT)
committerGitHub <noreply@github.com>2023-08-28 13:04:27 (GMT)
commitbc5356bb5d7e3eda44128e89a695c05066e0840b (patch)
treed9c923aaa06b991fd874ccb693fcb5bdf8fb015d /Modules/_sqlite
parentd90973340bf5ac35e0b35e99239cd37c46a30910 (diff)
downloadcpython-bc5356bb5d7e3eda44128e89a695c05066e0840b.zip
cpython-bc5356bb5d7e3eda44128e89a695c05066e0840b.tar.gz
cpython-bc5356bb5d7e3eda44128e89a695c05066e0840b.tar.bz2
gh-108494: Argument Clinic: fix support of Limited C API (GH-108536)
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sqlite/module.c b/Modules/_sqlite/module.c
index dd45ffc..46fed9f 100644
--- a/Modules/_sqlite/module.c
+++ b/Modules/_sqlite/module.c
@@ -244,7 +244,7 @@ load_functools_lru_cache(PyObject *module)
static PyMethodDef module_methods[] = {
PYSQLITE_ADAPT_METHODDEF
PYSQLITE_COMPLETE_STATEMENT_METHODDEF
- PYSQLITE_CONNECT_METHODDEF
+ {"connect", _PyCFunction_CAST(pysqlite_connect), METH_FASTCALL|METH_KEYWORDS, pysqlite_connect__doc__},
PYSQLITE_ENABLE_CALLBACK_TRACE_METHODDEF
PYSQLITE_REGISTER_ADAPTER_METHODDEF
PYSQLITE_REGISTER_CONVERTER_METHODDEF