diff --git a/README.md b/README.md index b87ccb7..e31cbb9 100644 --- a/README.md +++ b/README.md @@ -1855,8 +1855,8 @@ import sqlite3 ### Write ```python -.execute('') -.commit() +.execute('') # Can raise a subclass of sqlite3.Error. +.commit() # Commits all transactions since last commit. ``` #### Or: diff --git a/index.html b/index.html index 1d03b85..1a5e062 100644 --- a/index.html +++ b/index.html @@ -1672,8 +1672,8 @@ CompletedProcess(args=['bc', Write
<con>.execute('<query>')
-<con>.commit()
+

Write

<con>.execute('<query>')                        # Can raise a subclass of sqlite3.Error.
+<con>.commit()                                  # Commits all transactions since last commit.
 

Or:

with <con>: