summaryrefslogtreecommitdiffstats
path: root/Doc/includes
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-10-31 01:40:26 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-10-31 01:40:26 (GMT)
commitf45501d8f8fe516d8dee4cc72f80bbaf1d5fd80a (patch)
treeac27ef4125bce6b6190a4cc94912cdc49174d10d /Doc/includes
parent187aa269c2c32f39857eb014aed5fe4e97c614a7 (diff)
downloadcpython-f45501d8f8fe516d8dee4cc72f80bbaf1d5fd80a.zip
cpython-f45501d8f8fe516d8dee4cc72f80bbaf1d5fd80a.tar.gz
cpython-f45501d8f8fe516d8dee4cc72f80bbaf1d5fd80a.tar.bz2
caught is the right pp of catch; thanks to Don Bennett from docs@
Diffstat (limited to 'Doc/includes')
-rw-r--r--Doc/includes/sqlite3/ctx_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/sqlite3/ctx_manager.py b/Doc/includes/sqlite3/ctx_manager.py
index 27dd0b5..d6f27e6 100644
--- a/Doc/includes/sqlite3/ctx_manager.py
+++ b/Doc/includes/sqlite3/ctx_manager.py
@@ -8,7 +8,7 @@ with con:
con.execute("insert into person(firstname) values (?)", ("Joe",))
# con.rollback() is called after the with block finishes with an exception, the
-# exception is still raised and must be catched
+# exception is still raised and must be caught
try:
with con:
con.execute("insert into person(firstname) values (?)", ("Joe",))