]> 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:40:26 +0000 (02:40 +0100)
committerSandro Tosi <sandro.tosi@gmail.com>
Mon, 31 Oct 2011 01:40:26 +0000 (02:40 +0100)
Doc/includes/sqlite3/ctx_manager.py

index 27dd0b5834fb9e62377c9375f59344057b5ee56b..d6f27e6b2282adaf1909925ea8043a79ffa8f793 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",))