]> granicus.if.org Git - python/commitdiff
caught is the right pp of catch; thanks to Don Bennett from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Mon, 31 Oct 2011 01:41:06 +0000 (02:41 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Mon, 31 Oct 2011 01:41:06 +0000 (02:41 +0100)
Doc/includes/sqlite3/ctx_manager.py

index b8e43325a921a172bee525a2d8a83deaf23e9e91..7af4ad1ecfbccaffc62df77b5726a3e268fa566b 100644 (file)
@@ -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",))