summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>2022-07-28 05:38:36 (GMT)
committerGitHub <noreply@github.com>2022-07-28 05:38:36 (GMT)
commitea269b9a380a52828d4e401fa695737bcd699398 (patch)
treeae52080eca19ac9400a2d73e99797f7d6717644e
parentebad53a4dc1bb591820724a22cef9b8459185b5f (diff)
downloadcpython-ea269b9a380a52828d4e401fa695737bcd699398.zip
cpython-ea269b9a380a52828d4e401fa695737bcd699398.tar.gz
cpython-ea269b9a380a52828d4e401fa695737bcd699398.tar.bz2
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
-rw-r--r--Doc/library/sqlite3.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index d493f5f..545f679 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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