mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
Docs: Escape lone stars in sqlite3 docs (#96081)
This commit is contained in:
parent
c87ea10fc9
commit
91afe66707
1 changed files with 5 additions and 5 deletions
|
|
@ -555,7 +555,7 @@ Connection objects
|
|||
supplied, this must be a callable returning an instance of :class:`Cursor`
|
||||
or its subclasses.
|
||||
|
||||
.. method:: blobopen(table, column, row, /, *, readonly=False, name="main")
|
||||
.. method:: blobopen(table, column, row, /, \*, readonly=False, name="main")
|
||||
|
||||
Open a :class:`Blob` handle to an existing
|
||||
:abbr:`BLOB (Binary Large OBject)`.
|
||||
|
|
@ -625,7 +625,7 @@ Connection objects
|
|||
:meth:`~Cursor.executescript` on it with the given *sql_script*.
|
||||
Return the new cursor object.
|
||||
|
||||
.. method:: create_function(name, narg, func, *, deterministic=False)
|
||||
.. method:: create_function(name, narg, func, \*, deterministic=False)
|
||||
|
||||
Create or remove a user-defined SQL function.
|
||||
|
||||
|
|
@ -916,7 +916,7 @@ Connection objects
|
|||
con.close()
|
||||
|
||||
|
||||
.. method:: backup(target, *, pages=-1, progress=None, name="main", sleep=0.250)
|
||||
.. method:: backup(target, \*, pages=-1, progress=None, name="main", sleep=0.250)
|
||||
|
||||
Create a backup of an SQLite database.
|
||||
|
||||
|
|
@ -1028,7 +1028,7 @@ Connection objects
|
|||
.. _SQLite limit category: https://www.sqlite.org/c3ref/c_limit_attached.html
|
||||
|
||||
|
||||
.. method:: serialize(*, name="main")
|
||||
.. method:: serialize(\*, name="main")
|
||||
|
||||
Serialize a database into a :class:`bytes` object. For an
|
||||
ordinary on-disk database file, the serialization is just a copy of the
|
||||
|
|
@ -1050,7 +1050,7 @@ Connection objects
|
|||
.. versionadded:: 3.11
|
||||
|
||||
|
||||
.. method:: deserialize(data, /, *, name="main")
|
||||
.. method:: deserialize(data, /, \*, name="main")
|
||||
|
||||
Deserialize a :meth:`serialized <serialize>` database into a
|
||||
:class:`Connection`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue