Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-94606: Fix error when message with Unicode surrogate not surrogateescaped string#94641

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
serhiy-storchaka merged 9 commits intopython:mainfromsidney:issue-94606-get_payload
Dec 11, 2023
Merged
Changes from1 commit
Commits
Show all changes
9 commits
Select commitHold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
gh-94630: Update sqlite3 docs with positional-only and keyword-only s…
…ymbols (#94631)
  • Loading branch information
@erlend-aasland@sidney
erlend-aasland authored andsidney committedJul 7, 2022
commit9ca0fb838aad39f3c076c2c57f7bf8b51a74c6b5
22 changes: 11 additions & 11 deletionsDoc/library/sqlite3.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -332,7 +332,7 @@ Module functions and constants
Added the ``sqlite3.connect/handle`` auditing event.


.. function:: register_converter(typename, converter)
.. function:: register_converter(typename, converter, /)

Register the *converter* callable to convert SQLite objects of type
*typename* into a Python object of a specific type.
Expand All@@ -346,7 +346,7 @@ Module functions and constants
case-insensitively.


.. function:: register_adapter(type, adapter)
.. function:: register_adapter(type, adapter, /)

Register an *adapter* callable to adapt the Python type *type* into an
SQLite type.
Expand All@@ -368,7 +368,7 @@ Module functions and constants
.. literalinclude:: ../includes/sqlite3/complete_statement.py


.. function:: enable_callback_tracebacks(flag)
.. function:: enable_callback_tracebacks(flag, /)

By default you will not get any tracebacks in user-defined functions,
aggregates, converters, authorizer callbacks etc. If you want to debug them,
Expand DownExpand Up@@ -508,7 +508,7 @@ Connection Objects
.. literalinclude:: ../includes/sqlite3/md5func.py


.. method:: create_aggregate(name, n_arg, aggregate_class)
.. method:: create_aggregate(name,/,n_arg, aggregate_class)

Creates a user-defined aggregate function.

Expand DownExpand Up@@ -647,7 +647,7 @@ Connection Objects
.. versionadded:: 3.3


.. method:: enable_load_extension(enabled)
.. method:: enable_load_extension(enabled, /)

This routine allows/disallows the SQLite engine to load SQLite extensions
from shared libraries. SQLite extensions can define new functions,
Expand All@@ -665,7 +665,7 @@ Connection Objects

.. literalinclude:: ../includes/sqlite3/load_extension.py

.. method:: load_extension(path)
.. method:: load_extension(path, /)

This routine loads an SQLite extension from a shared library. You have to
enable extension loading with :meth:`enable_load_extension` before you can
Expand DownExpand Up@@ -876,7 +876,7 @@ Cursor Objects
.. index:: single: ? (question mark); in SQL statements
.. index:: single: : (colon); in SQL statements

.. method:: execute(sql[, parameters])
.. method:: execute(sql, parameters=(), /)

Execute an SQL statement. Values may be bound to the statement using
:ref:`placeholders <sqlite3-placeholders>`.
Expand All@@ -892,7 +892,7 @@ Cursor Objects
a transaction is implicitly opened before executing *sql*.


.. method:: executemany(sql, seq_of_parameters)
.. method:: executemany(sql, seq_of_parameters, /)

Execute a :ref:`parameterized <sqlite3-placeholders>` SQL command
against all parameter sequences or mappings found in the sequence
Expand All@@ -907,7 +907,7 @@ Cursor Objects
.. literalinclude:: ../includes/sqlite3/executemany_2.py


.. method:: executescript(sql_script)
.. method:: executescript(sql_script, /)

Execute multiple SQL statements at once.
If there is a pending transaciton,
Expand DownExpand Up@@ -957,11 +957,11 @@ Cursor Objects
The cursor will be unusable from this point forward; a :exc:`ProgrammingError`
exception will be raised if any operation is attempted with the cursor.

.. method:: setinputsizes(sizes)
.. method:: setinputsizes(sizes, /)

Required by the DB-API. Does nothing in :mod:`sqlite3`.

.. method:: setoutputsize(size [, column])
.. method:: setoutputsize(size, column=None, /)

Required by the DB-API. Does nothing in :mod:`sqlite3`.

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp