Kaydet (Commit) 9bf59aa1 authored tarafından Sandro Tosi's avatar Sandro Tosi

merge with 3.2

...@@ -8,7 +8,7 @@ with con: ...@@ -8,7 +8,7 @@ with con:
con.execute("insert into person(firstname) values (?)", ("Joe",)) con.execute("insert into person(firstname) values (?)", ("Joe",))
# con.rollback() is called after the with block finishes with an exception, the # 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: try:
with con: with con:
con.execute("insert into person(firstname) values (?)", ("Joe",)) con.execute("insert into person(firstname) values (?)", ("Joe",))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment