]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods'
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Thu, 28 Jul 2022 05:38:36 +0000 (07:38 +0200)
committerGitHub <noreply@github.com>
Thu, 28 Jul 2022 05:38:36 +0000 (07:38 +0200)
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
Doc/library/sqlite3.rst

index d493f5fd95631d96558bd4157ea98db613691e63..545f6790afb3aac904eeb775a5af765bffcc0f27 100644 (file)
@@ -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