Skip to content

Commit 9b0e56e

Browse files
conn => con
1 parent a637bde commit 9b0e56e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/sqlite3.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2450,9 +2450,9 @@ ensure that there is no open transaction:
24502450
.. testcode::
24512451

24522452
saved = cur.autocommit
2453-
conn.autocommit = True # Disable implicit transaction control.
2453+
con.autocommit = True # Disable implicit transaction control.
24542454
cursor.execute("PRAGMA foreign_keys=ON")
2455-
conn.autocommit = saved # Restore the previous setting.
2455+
con.autocommit = saved # Restore the previous setting.
24562456

24572457

24582458

0 commit comments

Comments
 (0)