Skip to content

Commit 369164a

Browse files
Keep the old formatting.
1 parent 87f5945 commit 369164a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

Modules/_sqlite/cursor.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);
2929

3030
static const char errmsg_fetch_across_rollback[] = "Cursor needed to be reset because of commit/rollback and can no longer be fetched from.";
3131

32-
static int
33-
pysqlite_cursor_init(pysqlite_Cursor* self, PyObject* args, PyObject* kwargs)
32+
static int pysqlite_cursor_init(pysqlite_Cursor* self, PyObject* args, PyObject* kwargs)
3433
{
3534
pysqlite_Connection* connection;
3635

@@ -77,8 +76,7 @@ pysqlite_cursor_init(pysqlite_Cursor* self, PyObject* args, PyObject* kwargs)
7776
return 0;
7877
}
7978

80-
static void
81-
pysqlite_cursor_dealloc(pysqlite_Cursor* self)
79+
static void pysqlite_cursor_dealloc(pysqlite_Cursor* self)
8280
{
8381
/* Reset the statement if the user has not closed the cursor */
8482
if (self->statement) {
@@ -343,8 +341,7 @@ _pysqlite_fetch_one_row(pysqlite_Cursor* self)
343341
*
344342
* 0 => error; 1 => ok
345343
*/
346-
static int
347-
check_cursor(pysqlite_Cursor* cur)
344+
static int check_cursor(pysqlite_Cursor* cur)
348345
{
349346
if (!cur->initialized) {
350347
PyErr_SetString(pysqlite_ProgrammingError, "Base Cursor.__init__ not called.");

0 commit comments

Comments
 (0)