]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95357)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 28 Jul 2022 10:32:56 +0000 (03:32 -0700)
committerGitHub <noreply@github.com>
Thu, 28 Jul 2022 10:32:56 +0000 (12:32 +0200)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ea269b9a380a52828d4e401fa695737bcd699398)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Doc/library/sqlite3.rst

index 7d2f3dff68194bad550ec9f4cadec216e04d0e4f..633b78453feb9f2a4cba23b3f91ef6d13a3e6a9f 100644 (file)
@@ -1604,8 +1604,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