Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit ea269b9a38)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
This commit is contained in:
Miss Islington (bot) 2022-07-28 03:32:20 -07:00 committed by GitHub
parent 4ad222991f
commit dcb6fa8099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1336,8 +1336,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