@@ -332,7 +332,7 @@ Module functions and constants
332
332
Added the ``sqlite3.connect/handle `` auditing event.
333
333
334
334
335
- .. function :: register_converter(typename, converter)
335
+ .. function :: register_converter(typename, converter, / )
336
336
337
337
Register the *converter * callable to convert SQLite objects of type
338
338
*typename * into a Python object of a specific type.
@@ -346,7 +346,7 @@ Module functions and constants
346
346
case-insensitively.
347
347
348
348
349
- .. function :: register_adapter(type, adapter)
349
+ .. function :: register_adapter(type, adapter, / )
350
350
351
351
Register an *adapter * callable to adapt the Python type *type * into an
352
352
SQLite type.
@@ -368,7 +368,7 @@ Module functions and constants
368
368
.. literalinclude :: ../includes/sqlite3/complete_statement.py
369
369
370
370
371
- .. function :: enable_callback_tracebacks(flag)
371
+ .. function :: enable_callback_tracebacks(flag, / )
372
372
373
373
By default you will not get any tracebacks in user-defined functions,
374
374
aggregates, converters, authorizer callbacks etc. If you want to debug them,
@@ -508,7 +508,7 @@ Connection Objects
508
508
.. literalinclude :: ../includes/sqlite3/md5func.py
509
509
510
510
511
- .. method :: create_aggregate(name, n_arg, aggregate_class)
511
+ .. method :: create_aggregate(name, /, n_arg, aggregate_class)
512
512
513
513
Creates a user-defined aggregate function.
514
514
@@ -647,7 +647,7 @@ Connection Objects
647
647
.. versionadded :: 3.3
648
648
649
649
650
- .. method :: enable_load_extension(enabled)
650
+ .. method :: enable_load_extension(enabled, / )
651
651
652
652
This routine allows/disallows the SQLite engine to load SQLite extensions
653
653
from shared libraries. SQLite extensions can define new functions,
@@ -665,7 +665,7 @@ Connection Objects
665
665
666
666
.. literalinclude :: ../includes/sqlite3/load_extension.py
667
667
668
- .. method :: load_extension(path)
668
+ .. method :: load_extension(path, / )
669
669
670
670
This routine loads an SQLite extension from a shared library. You have to
671
671
enable extension loading with :meth: `enable_load_extension ` before you can
@@ -876,7 +876,7 @@ Cursor Objects
876
876
.. index :: single: ? (question mark); in SQL statements
877
877
.. index :: single: : (colon); in SQL statements
878
878
879
- .. method :: execute(sql[ , parameters] )
879
+ .. method :: execute(sql, parameters=(), / )
880
880
881
881
Execute an SQL statement. Values may be bound to the statement using
882
882
:ref: `placeholders <sqlite3-placeholders >`.
@@ -892,7 +892,7 @@ Cursor Objects
892
892
a transaction is implicitly opened before executing *sql *.
893
893
894
894
895
- .. method :: executemany(sql, seq_of_parameters)
895
+ .. method :: executemany(sql, seq_of_parameters, / )
896
896
897
897
Execute a :ref: `parameterized <sqlite3-placeholders >` SQL command
898
898
against all parameter sequences or mappings found in the sequence
@@ -907,7 +907,7 @@ Cursor Objects
907
907
.. literalinclude :: ../includes/sqlite3/executemany_2.py
908
908
909
909
910
- .. method :: executescript(sql_script)
910
+ .. method :: executescript(sql_script, / )
911
911
912
912
Execute multiple SQL statements at once.
913
913
If there is a pending transaciton,
@@ -957,11 +957,11 @@ Cursor Objects
957
957
The cursor will be unusable from this point forward; a :exc: `ProgrammingError `
958
958
exception will be raised if any operation is attempted with the cursor.
959
959
960
- .. method :: setinputsizes(sizes)
960
+ .. method :: setinputsizes(sizes, / )
961
961
962
962
Required by the DB-API. Does nothing in :mod: `sqlite3 `.
963
963
964
- .. method :: setoutputsize(size [ , column] )
964
+ .. method :: setoutputsize(size, column=None, / )
965
965
966
966
Required by the DB-API. Does nothing in :mod: `sqlite3 `.
967
967
0 commit comments