summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite/connection.c
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend@python.org>2023-08-15 08:09:56 (GMT)
committerGitHub <noreply@github.com>2023-08-15 08:09:56 (GMT)
commit13c36dc9ae5240124932137de4a94d81292c6c5f (patch)
treed0c519b57139c9af90bec3f6df794d37fdaf94b1 /Modules/_sqlite/connection.c
parenta482e5bf0022f85424a6308529a9ad51f1bfbb71 (diff)
downloadcpython-13c36dc9ae5240124932137de4a94d81292c6c5f.zip
cpython-13c36dc9ae5240124932137de4a94d81292c6c5f.tar.gz
cpython-13c36dc9ae5240124932137de4a94d81292c6c5f.tar.bz2
gh-93057: Deprecate positional use of optional sqlite3.connect() params (#107948)
Diffstat (limited to 'Modules/_sqlite/connection.c')
-rw-r--r--Modules/_sqlite/connection.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/_sqlite/connection.c b/Modules/_sqlite/connection.c
index 3d2fcd3..0819acd 100644
--- a/Modules/_sqlite/connection.c
+++ b/Modules/_sqlite/connection.c
@@ -216,6 +216,7 @@ class sqlite3_int64_converter(CConverter):
_sqlite3.Connection.__init__ as pysqlite_connection_init
database: object
+ * [from 3.15]
timeout: double = 5.0
detect_types: int = 0
isolation_level: IsolationLevel = ""
@@ -234,7 +235,7 @@ pysqlite_connection_init_impl(pysqlite_Connection *self, PyObject *database,
int check_same_thread, PyObject *factory,
int cache_size, int uri,
enum autocommit_mode autocommit)
-/*[clinic end generated code: output=cba057313ea7712f input=9b0ab6c12f674fa3]*/
+/*[clinic end generated code: output=cba057313ea7712f input=219c3dbecbae7d99]*/
{
if (PySys_Audit("sqlite3.connect", "O", database) < 0) {
return -1;