Skip to content

Commit 567493f

Browse files
committed
caught is the right pp of catch; thanks to Don Bennett from docs@
1 parent 6f45d18 commit 567493f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/includes/sqlite3/ctx_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
con.execute("insert into person(firstname) values (?)", ("Joe",))
99

1010
# con.rollback() is called after the with block finishes with an exception, the
11-
# exception is still raised and must be catched
11+
# exception is still raised and must be caught
1212
try:
1313
with con:
1414
con.execute("insert into person(firstname) values (?)", ("Joe",))

0 commit comments

Comments
 (0)