Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dcb6fa8

Browse files
Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)
Co-authored-by: CAM Gerlach <[email protected]> (cherry picked from commit ea269b9) Co-authored-by: Erlend Egeberg Aasland <[email protected]>
1 parent 4ad2229 commit dcb6fa8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/sqlite3.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,9 @@ Using :mod:`sqlite3` efficiently
13361336
Using shortcut methods
13371337
^^^^^^^^^^^^^^^^^^^^^^
13381338

1339-
Using the nonstandard :meth:`execute`, :meth:`executemany` and
1340-
:meth:`executescript` methods of the :class:`Connection` object, your code can
1339+
Using the :meth:`~Connection.execute`,
1340+
:meth:`~Connection.executemany`, and :meth:`~Connection.executescript`
1341+
methods of the :class:`Connection` class, your code can
13411342
be written more concisely because you don't have to create the (often
13421343
superfluous) :class:`Cursor` objects explicitly. Instead, the :class:`Cursor`
13431344
objects are created implicitly and these shortcut methods return the cursor

0 commit comments

Comments
 (0)