@@ -140,8 +140,8 @@ sqlite3_int64_converter(PyObject *obj, sqlite3_int64 *result)
140
140
#undef clinic_state
141
141
142
142
/*[clinic input]
143
- module _sqlite3
144
- class _sqlite3 .Connection "pysqlite_Connection *" "clinic_state()->ConnectionType"
143
+ module sqlite3
144
+ class sqlite3 .Connection "pysqlite_Connection *" "clinic_state()->ConnectionType"
145
145
[clinic start generated code]*/
146
146
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=67369db2faf80891]*/
147
147
@@ -214,7 +214,7 @@ class sqlite3_int64_converter(CConverter):
214
214
215
215
// NB: This needs to be in sync with the sqlite3.connect docstring
216
216
/*[clinic input]
217
- _sqlite3 .Connection.__init__ as pysqlite_connection_init
217
+ sqlite3 .Connection.__init__ as pysqlite_connection_init
218
218
219
219
database: object
220
220
timeout: double = 5.0
@@ -451,7 +451,7 @@ connection_dealloc(pysqlite_Connection *self)
451
451
}
452
452
453
453
/*[clinic input]
454
- _sqlite3 .Connection.cursor as pysqlite_connection_cursor
454
+ sqlite3 .Connection.cursor as pysqlite_connection_cursor
455
455
456
456
factory: object = NULL
457
457
@@ -494,7 +494,7 @@ pysqlite_connection_cursor_impl(pysqlite_Connection *self, PyObject *factory)
494
494
}
495
495
496
496
/*[clinic input]
497
- _sqlite3 .Connection.blobopen as blobopen
497
+ sqlite3 .Connection.blobopen as blobopen
498
498
499
499
table: str
500
500
Table name.
@@ -568,7 +568,7 @@ blobopen_impl(pysqlite_Connection *self, const char *table, const char *col,
568
568
}
569
569
570
570
/*[clinic input]
571
- _sqlite3 .Connection.close as pysqlite_connection_close
571
+ sqlite3 .Connection.close as pysqlite_connection_close
572
572
573
573
Close the database connection.
574
574
@@ -622,7 +622,7 @@ int pysqlite_check_connection(pysqlite_Connection* con)
622
622
}
623
623
624
624
/*[clinic input]
625
- _sqlite3 .Connection.commit as pysqlite_connection_commit
625
+ sqlite3 .Connection.commit as pysqlite_connection_commit
626
626
627
627
Commit any pending transaction to the database.
628
628
@@ -656,7 +656,7 @@ pysqlite_connection_commit_impl(pysqlite_Connection *self)
656
656
}
657
657
658
658
/*[clinic input]
659
- _sqlite3 .Connection.rollback as pysqlite_connection_rollback
659
+ sqlite3 .Connection.rollback as pysqlite_connection_rollback
660
660
661
661
Roll back to the start of any pending transaction.
662
662
@@ -1054,7 +1054,7 @@ destructor_callback(void *ctx)
1054
1054
}
1055
1055
1056
1056
/*[clinic input]
1057
- _sqlite3 .Connection.create_function as pysqlite_connection_create_function
1057
+ sqlite3 .Connection.create_function as pysqlite_connection_create_function
1058
1058
1059
1059
cls: defining_class
1060
1060
/
@@ -1192,7 +1192,7 @@ value_callback(sqlite3_context *context)
1192
1192
}
1193
1193
1194
1194
/*[clinic input]
1195
- _sqlite3 .Connection.create_window_function as create_window_function
1195
+ sqlite3 .Connection.create_window_function as create_window_function
1196
1196
1197
1197
cls: defining_class
1198
1198
name: str
@@ -1256,7 +1256,7 @@ create_window_function_impl(pysqlite_Connection *self, PyTypeObject *cls,
1256
1256
#endif
1257
1257
1258
1258
/*[clinic input]
1259
- _sqlite3 .Connection.create_aggregate as pysqlite_connection_create_aggregate
1259
+ sqlite3 .Connection.create_aggregate as pysqlite_connection_create_aggregate
1260
1260
1261
1261
cls: defining_class
1262
1262
/
@@ -1416,7 +1416,7 @@ trace_callback(unsigned int type, void *ctx, void *stmt, void *sql)
1416
1416
}
1417
1417
1418
1418
/*[clinic input]
1419
- _sqlite3 .Connection.set_authorizer as pysqlite_connection_set_authorizer
1419
+ sqlite3 .Connection.set_authorizer as pysqlite_connection_set_authorizer
1420
1420
1421
1421
cls: defining_class
1422
1422
/
@@ -1458,7 +1458,7 @@ pysqlite_connection_set_authorizer_impl(pysqlite_Connection *self,
1458
1458
}
1459
1459
1460
1460
/*[clinic input]
1461
- _sqlite3 .Connection.set_progress_handler as pysqlite_connection_set_progress_handler
1461
+ sqlite3 .Connection.set_progress_handler as pysqlite_connection_set_progress_handler
1462
1462
1463
1463
cls: defining_class
1464
1464
/
@@ -1495,7 +1495,7 @@ pysqlite_connection_set_progress_handler_impl(pysqlite_Connection *self,
1495
1495
}
1496
1496
1497
1497
/*[clinic input]
1498
- _sqlite3 .Connection.set_trace_callback as pysqlite_connection_set_trace_callback
1498
+ sqlite3 .Connection.set_trace_callback as pysqlite_connection_set_trace_callback
1499
1499
1500
1500
cls: defining_class
1501
1501
/
@@ -1539,7 +1539,7 @@ pysqlite_connection_set_trace_callback_impl(pysqlite_Connection *self,
1539
1539
1540
1540
#ifdef PY_SQLITE_ENABLE_LOAD_EXTENSION
1541
1541
/*[clinic input]
1542
- _sqlite3 .Connection.enable_load_extension as pysqlite_connection_enable_load_extension
1542
+ sqlite3 .Connection.enable_load_extension as pysqlite_connection_enable_load_extension
1543
1543
1544
1544
enable as onoff: bool
1545
1545
/
@@ -1575,7 +1575,7 @@ pysqlite_connection_enable_load_extension_impl(pysqlite_Connection *self,
1575
1575
}
1576
1576
1577
1577
/*[clinic input]
1578
- _sqlite3 .Connection.load_extension as pysqlite_connection_load_extension
1578
+ sqlite3 .Connection.load_extension as pysqlite_connection_load_extension
1579
1579
1580
1580
name as extension_name: str
1581
1581
/
@@ -1707,7 +1707,7 @@ pysqlite_connection_call(pysqlite_Connection *self, PyObject *args,
1707
1707
}
1708
1708
1709
1709
/*[clinic input]
1710
- _sqlite3 .Connection.execute as pysqlite_connection_execute
1710
+ sqlite3 .Connection.execute as pysqlite_connection_execute
1711
1711
1712
1712
sql: unicode
1713
1713
parameters: object = NULL
@@ -1740,7 +1740,7 @@ pysqlite_connection_execute_impl(pysqlite_Connection *self, PyObject *sql,
1740
1740
}
1741
1741
1742
1742
/*[clinic input]
1743
- _sqlite3 .Connection.executemany as pysqlite_connection_executemany
1743
+ sqlite3 .Connection.executemany as pysqlite_connection_executemany
1744
1744
1745
1745
sql: unicode
1746
1746
parameters: object
@@ -1773,7 +1773,7 @@ pysqlite_connection_executemany_impl(pysqlite_Connection *self,
1773
1773
}
1774
1774
1775
1775
/*[clinic input]
1776
- _sqlite3 .Connection.executescript as pysqlite_connection_executescript
1776
+ sqlite3 .Connection.executescript as pysqlite_connection_executescript
1777
1777
1778
1778
sql_script as script_obj: object
1779
1779
/
@@ -1865,7 +1865,7 @@ collation_callback(void *context, int text1_length, const void *text1_data,
1865
1865
}
1866
1866
1867
1867
/*[clinic input]
1868
- _sqlite3 .Connection.interrupt as pysqlite_connection_interrupt
1868
+ sqlite3 .Connection.interrupt as pysqlite_connection_interrupt
1869
1869
1870
1870
Abort any pending database operation.
1871
1871
[clinic start generated code]*/
@@ -1893,7 +1893,7 @@ pysqlite_connection_interrupt_impl(pysqlite_Connection *self)
1893
1893
* of the sqlite3 module.
1894
1894
*/
1895
1895
/*[clinic input]
1896
- _sqlite3 .Connection.iterdump as pysqlite_connection_iterdump
1896
+ sqlite3 .Connection.iterdump as pysqlite_connection_iterdump
1897
1897
1898
1898
Returns iterator to the dump of the database in an SQL text format.
1899
1899
[clinic start generated code]*/
@@ -1921,7 +1921,7 @@ pysqlite_connection_iterdump_impl(pysqlite_Connection *self)
1921
1921
}
1922
1922
1923
1923
/*[clinic input]
1924
- _sqlite3 .Connection.backup as pysqlite_connection_backup
1924
+ sqlite3 .Connection.backup as pysqlite_connection_backup
1925
1925
1926
1926
target: object(type='pysqlite_Connection *', subclass_of='clinic_state()->ConnectionType')
1927
1927
*
@@ -2020,7 +2020,7 @@ pysqlite_connection_backup_impl(pysqlite_Connection *self,
2020
2020
}
2021
2021
2022
2022
/*[clinic input]
2023
- _sqlite3 .Connection.create_collation as pysqlite_connection_create_collation
2023
+ sqlite3 .Connection.create_collation as pysqlite_connection_create_collation
2024
2024
2025
2025
cls: defining_class
2026
2026
name: str
@@ -2079,7 +2079,7 @@ pysqlite_connection_create_collation_impl(pysqlite_Connection *self,
2079
2079
2080
2080
#ifdef PY_SQLITE_HAVE_SERIALIZE
2081
2081
/*[clinic input]
2082
- _sqlite3 .Connection.serialize as serialize
2082
+ sqlite3 .Connection.serialize as serialize
2083
2083
2084
2084
*
2085
2085
name: str = "main"
@@ -2129,7 +2129,7 @@ serialize_impl(pysqlite_Connection *self, const char *name)
2129
2129
}
2130
2130
2131
2131
/*[clinic input]
2132
- _sqlite3 .Connection.deserialize as deserialize
2132
+ sqlite3 .Connection.deserialize as deserialize
2133
2133
2134
2134
data: Py_buffer(accept={buffer, str})
2135
2135
The serialized database content.
@@ -2197,7 +2197,7 @@ deserialize_impl(pysqlite_Connection *self, Py_buffer *data,
2197
2197
2198
2198
2199
2199
/*[clinic input]
2200
- _sqlite3 .Connection.__enter__ as pysqlite_connection_enter
2200
+ sqlite3 .Connection.__enter__ as pysqlite_connection_enter
2201
2201
2202
2202
Called when the connection is used as a context manager.
2203
2203
@@ -2215,7 +2215,7 @@ pysqlite_connection_enter_impl(pysqlite_Connection *self)
2215
2215
}
2216
2216
2217
2217
/*[clinic input]
2218
- _sqlite3 .Connection.__exit__ as pysqlite_connection_exit
2218
+ sqlite3 .Connection.__exit__ as pysqlite_connection_exit
2219
2219
2220
2220
type as exc_type: object
2221
2221
value as exc_value: object
@@ -2265,7 +2265,7 @@ pysqlite_connection_exit_impl(pysqlite_Connection *self, PyObject *exc_type,
2265
2265
}
2266
2266
2267
2267
/*[clinic input]
2268
- _sqlite3 .Connection.setlimit as setlimit
2268
+ sqlite3 .Connection.setlimit as setlimit
2269
2269
2270
2270
category: int
2271
2271
The limit category to be set.
@@ -2298,7 +2298,7 @@ setlimit_impl(pysqlite_Connection *self, int category, int limit)
2298
2298
}
2299
2299
2300
2300
/*[clinic input]
2301
- _sqlite3 .Connection.getlimit as getlimit
2301
+ sqlite3 .Connection.getlimit as getlimit
2302
2302
2303
2303
category: int
2304
2304
The limit category to be queried.
@@ -2359,7 +2359,7 @@ is_int_config(const int op)
2359
2359
}
2360
2360
2361
2361
/*[clinic input]
2362
- _sqlite3 .Connection.setconfig as setconfig
2362
+ sqlite3 .Connection.setconfig as setconfig
2363
2363
2364
2364
op: int
2365
2365
The configuration verb; one of the sqlite3.SQLITE_DBCONFIG codes.
@@ -2394,7 +2394,7 @@ setconfig_impl(pysqlite_Connection *self, int op, int enable)
2394
2394
}
2395
2395
2396
2396
/*[clinic input]
2397
- _sqlite3 .Connection.getconfig as getconfig -> bool
2397
+ sqlite3 .Connection.getconfig as getconfig -> bool
2398
2398
2399
2399
op: int
2400
2400
The configuration verb; one of the sqlite3.SQLITE_DBCONFIG codes.
0 commit comments