mirror of
https://github.com/python/cpython.git
synced 2026-01-07 16:02:55 +00:00
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
ebad53a4dc
commit
ea269b9a38
1 changed files with 3 additions and 2 deletions
|
|
@ -1621,8 +1621,9 @@ Using :mod:`sqlite3` efficiently
|
|||
Using shortcut methods
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Using the nonstandard :meth:`execute`, :meth:`executemany` and
|
||||
:meth:`executescript` methods of the :class:`Connection` object, your code can
|
||||
Using the :meth:`~Connection.execute`,
|
||||
:meth:`~Connection.executemany`, and :meth:`~Connection.executescript`
|
||||
methods of the :class:`Connection` class, your code can
|
||||
be written more concisely because you don't have to create the (often
|
||||
superfluous) :class:`Cursor` objects explicitly. Instead, the :class:`Cursor`
|
||||
objects are created implicitly and these shortcut methods return the cursor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue