@@ -1590,23 +1590,24 @@ _sqlite3.Connection.set_progress_handler as pysqlite_connection_set_progress_han
15901590 cls: defining_class
15911591 progress_handler as callable: object
15921592 A callable that takes no arguments.
1593- If the callable returns non-zero, the current query is terminated,
1594- and an exception is raised.
1593+ If the callable returns non-zero, the current query is
1594+ terminated, and an exception is raised.
15951595 / [from 3.15]
15961596 n: int
15971597 The number of SQLite virtual machine instructions that are
15981598 executed between invocations of 'progress_handler'.
15991599
16001600Set progress handler callback.
16011601
1602- If 'progress_handler' is None or 'n' is 0, the progress handler is disabled.
1602+ If 'progress_handler' is None or 'n' is 0, the progress handler is
1603+ disabled.
16031604[clinic start generated code]*/
16041605
16051606static PyObject *
16061607pysqlite_connection_set_progress_handler_impl (pysqlite_Connection * self ,
16071608 PyTypeObject * cls ,
16081609 PyObject * callable , int n )
1609- /*[clinic end generated code: output=0739957fd8034a50 input=b4d6e2ef8b4d32f9 ]*/
1610+ /*[clinic end generated code: output=0739957fd8034a50 input=d46887797f0c0ecf ]*/
16101611{
16111612 if (!pysqlite_check_thread (self ) || !pysqlite_check_connection (self )) {
16121613 return NULL ;
@@ -2234,15 +2235,15 @@ _sqlite3.Connection.serialize as serialize
22342235
22352236Serialize a database into a byte string.
22362237
2237- For an ordinary on-disk database file, the serialization is just a copy of the
2238- disk file. For an in-memory database or a "temp" database, the serialization is
2239- the same sequence of bytes which would be written to disk if that database
2240- were backed up to disk.
2238+ For an ordinary on-disk database file, the serialization is just
2239+ a copy of the disk file. For an in-memory database or a "temp"
2240+ database, the serialization is the same sequence of bytes which
2241+ would be written to disk if that database were backed up to disk.
22412242[clinic start generated code]*/
22422243
22432244static PyObject *
22442245serialize_impl (pysqlite_Connection * self , const char * name )
2245- /*[clinic end generated code: output=97342b0e55239dd3 input=d2eb5194a65abe2b ]*/
2246+ /*[clinic end generated code: output=97342b0e55239dd3 input=7e48654e8e082fa8 ]*/
22462247{
22472248 if (!pysqlite_check_thread (self ) || !pysqlite_check_connection (self )) {
22482249 return NULL ;
@@ -2287,18 +2288,19 @@ _sqlite3.Connection.deserialize as deserialize
22872288
22882289Load a serialized database.
22892290
2290- The deserialize interface causes the database connection to disconnect from the
2291- target database, and then reopen it as an in-memory database based on the given
2292- serialized data.
2291+ The deserialize interface causes the database connection to
2292+ disconnect from the target database, and then reopen it as
2293+ an in-memory database based on the given serialized data.
22932294
2294- The deserialize interface will fail with SQLITE_BUSY if the database is
2295- currently in a read transaction or is involved in a backup operation.
2295+ The deserialize interface will fail with SQLITE_BUSY if the database
2296+ is currently in a read transaction or is involved in a backup
2297+ operation.
22962298[clinic start generated code]*/
22972299
22982300static PyObject *
22992301deserialize_impl (pysqlite_Connection * self , Py_buffer * data ,
23002302 const char * name )
2301- /*[clinic end generated code: output=e394c798b98bad89 input=1be4ca1faacf28f2 ]*/
2303+ /*[clinic end generated code: output=e394c798b98bad89 input=5d20e028d98c0686 ]*/
23022304{
23032305 if (!pysqlite_check_thread (self ) || !pysqlite_check_connection (self )) {
23042306 return NULL ;
@@ -2371,13 +2373,14 @@ _sqlite3.Connection.__exit__ as pysqlite_connection_exit
23712373
23722374Called when the connection is used as a context manager.
23732375
2374- If there was any exception, a rollback takes place; otherwise we commit.
2376+ If there was any exception, a rollback takes place; otherwise we
2377+ commit.
23752378[clinic start generated code]*/
23762379
23772380static PyObject *
23782381pysqlite_connection_exit_impl (pysqlite_Connection * self , PyObject * exc_type ,
23792382 PyObject * exc_value , PyObject * exc_tb )
2380- /*[clinic end generated code: output=0705200e9321202a input=bd66f1532c9c54a7 ]*/
2383+ /*[clinic end generated code: output=0705200e9321202a input=8fdb0392ee6f3466 ]*/
23812384{
23822385 int commit = 0 ;
23832386 PyObject * result ;
@@ -2417,20 +2420,20 @@ _sqlite3.Connection.setlimit as setlimit
24172420 category: int
24182421 The limit category to be set.
24192422 limit: int
2420- The new limit. If the new limit is a negative number, the limit is
2421- unchanged.
2423+ The new limit. If the new limit is a negative number, the limit
2424+ is unchanged.
24222425 /
24232426
24242427Set connection run-time limits.
24252428
2426- Attempts to increase a limit above its hard upper bound are silently truncated
2427- to the hard upper bound. Regardless of whether or not the limit was changed,
2428- the prior value of the limit is returned.
2429+ Attempts to increase a limit above its hard upper bound are silently
2430+ truncated to the hard upper bound. Regardless of whether or not the
2431+ limit was changed, the prior value of the limit is returned.
24292432[clinic start generated code]*/
24302433
24312434static PyObject *
24322435setlimit_impl (pysqlite_Connection * self , int category , int limit )
2433- /*[clinic end generated code: output=0d208213f8d68ccd input=9bd469537e195635 ]*/
2436+ /*[clinic end generated code: output=0d208213f8d68ccd input=5c2e430091206677 ]*/
24342437{
24352438 if (!pysqlite_check_thread (self ) || !pysqlite_check_connection (self )) {
24362439 return NULL ;
0 commit comments