[Python-checkins] Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)

erlend-aasland webhook-mailer at python.org
Thu Jul 28 06:32:28 EDT 2022


https://github.com/python/cpython/commit/dcb6fa8099ce1879b064b00f80f38cfbdee3a0de
commit: dcb6fa8099ce1879b064b00f80f38cfbdee3a0de
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-07-28T12:32:20+02:00
summary:

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

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

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 3ce598c6ff1af..87c648ddda18a 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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



More information about the Python-checkins mailing list