diff options
| author | Sandro Tosi <sandro.tosi@gmail.com> | 2011-10-31 02:42:06 +0100 |
|---|---|---|
| committer | Sandro Tosi <sandro.tosi@gmail.com> | 2011-10-31 02:42:06 +0100 |
| commit | 9bf59aa103074ee0e926ef74743bb1eaa8229128 (patch) | |
| tree | 0b9d803a1b31ab6f60fcffdb845bd50e8de46d70 /Doc/includes | |
| parent | b6f019a0801847c0ebb82ebf10179d59814f0eac (diff) | |
| parent | 567493fe263e4e4ee50fcb0648ce3f2bbfc84db7 (diff) | |
| download | cpython-git-9bf59aa103074ee0e926ef74743bb1eaa8229128.tar.gz | |
merge with 3.2
Diffstat (limited to 'Doc/includes')
| -rw-r--r-- | Doc/includes/sqlite3/ctx_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/includes/sqlite3/ctx_manager.py b/Doc/includes/sqlite3/ctx_manager.py index b8e43325a9..7af4ad1ecf 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",)) |
