summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2011-10-31 01:41:06 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2011-10-31 01:41:06 (GMT)
commit567493fe263e4e4ee50fcb0648ce3f2bbfc84db7 (patch)
tree019399135c44fe324c8e1fc23656d5547692c4f1 /Doc
parent6f45d18c2474097a36bec5a769f30d33cd1b12be (diff)
downloadcpython-567493fe263e4e4ee50fcb0648ce3f2bbfc84db7.zip
cpython-567493fe263e4e4ee50fcb0648ce3f2bbfc84db7.tar.gz
cpython-567493fe263e4e4ee50fcb0648ce3f2bbfc84db7.tar.bz2
caught is the right pp of catch; thanks to Don Bennett from docs@
Diffstat (limited to 'Doc')
-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 b8e4332..7af4ad1 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",))