@@ -322,7 +322,7 @@ Module functions and constants
322
322
Added the ``sqlite3.connect/handle `` auditing event.
323
323
324
324
325
- .. function :: register_converter(typename, converter)
325
+ .. function :: register_converter(typename, converter, / )
326
326
327
327
Register the *converter * callable to convert SQLite objects of type
328
328
*typename * into a Python object of a specific type.
@@ -336,7 +336,7 @@ Module functions and constants
336
336
case-insensitively.
337
337
338
338
339
- .. function :: register_adapter(type, adapter)
339
+ .. function :: register_adapter(type, adapter, / )
340
340
341
341
Register an *adapter * callable to adapt the Python type *type * into an
342
342
SQLite type.
@@ -358,7 +358,7 @@ Module functions and constants
358
358
.. literalinclude :: ../includes/sqlite3/complete_statement.py
359
359
360
360
361
- .. function :: enable_callback_tracebacks(flag)
361
+ .. function :: enable_callback_tracebacks(flag, / )
362
362
363
363
By default you will not get any tracebacks in user-defined functions,
364
364
aggregates, converters, authorizer callbacks etc. If you want to debug them,
@@ -498,7 +498,7 @@ Connection Objects
498
498
.. literalinclude :: ../includes/sqlite3/md5func.py
499
499
500
500
501
- .. method :: create_aggregate(name, n_arg, aggregate_class)
501
+ .. method :: create_aggregate(name, /, n_arg, aggregate_class)
502
502
503
503
Creates a user-defined aggregate function.
504
504
@@ -637,7 +637,7 @@ Connection Objects
637
637
.. versionadded :: 3.3
638
638
639
639
640
- .. method :: enable_load_extension(enabled)
640
+ .. method :: enable_load_extension(enabled, / )
641
641
642
642
This routine allows/disallows the SQLite engine to load SQLite extensions
643
643
from shared libraries. SQLite extensions can define new functions,
@@ -655,7 +655,7 @@ Connection Objects
655
655
656
656
.. literalinclude :: ../includes/sqlite3/load_extension.py
657
657
658
- .. method :: load_extension(path)
658
+ .. method :: load_extension(path, / )
659
659
660
660
This routine loads an SQLite extension from a shared library. You have to
661
661
enable extension loading with :meth: `enable_load_extension ` before you can
@@ -866,7 +866,7 @@ Cursor Objects
866
866
.. index :: single: ? (question mark); in SQL statements
867
867
.. index :: single: : (colon); in SQL statements
868
868
869
- .. method :: execute(sql[ , parameters] )
869
+ .. method :: execute(sql, parameters=(), / )
870
870
871
871
Execute an SQL statement. Values may be bound to the statement using
872
872
:ref: `placeholders <sqlite3-placeholders >`.
@@ -882,7 +882,7 @@ Cursor Objects
882
882
a transaction is implicitly opened before executing *sql *.
883
883
884
884
885
- .. method :: executemany(sql, seq_of_parameters)
885
+ .. method :: executemany(sql, seq_of_parameters, / )
886
886
887
887
Execute a :ref: `parameterized <sqlite3-placeholders >` SQL command
888
888
against all parameter sequences or mappings found in the sequence
@@ -897,7 +897,7 @@ Cursor Objects
897
897
.. literalinclude :: ../includes/sqlite3/executemany_2.py
898
898
899
899
900
- .. method :: executescript(sql_script)
900
+ .. method :: executescript(sql_script, / )
901
901
902
902
Execute multiple SQL statements at once.
903
903
If there is a pending transaciton,
@@ -947,11 +947,11 @@ Cursor Objects
947
947
The cursor will be unusable from this point forward; a :exc: `ProgrammingError `
948
948
exception will be raised if any operation is attempted with the cursor.
949
949
950
- .. method :: setinputsizes(sizes)
950
+ .. method :: setinputsizes(sizes, / )
951
951
952
952
Required by the DB-API. Does nothing in :mod: `sqlite3 `.
953
953
954
- .. method :: setoutputsize(size [ , column] )
954
+ .. method :: setoutputsize(size, column=None, / )
955
955
956
956
Required by the DB-API. Does nothing in :mod: `sqlite3 `.
957
957
0 commit comments