File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ Connection Objects
346346 called as the SQL function. If *deterministic * is true, the created function
347347 is marked as `deterministic <https://sqlite.org/deterministic.html >`_, which
348348 allows SQLite to perform additional optimizations. This flag is supported by
349- SQLite 3.8.3 or higher, `` sqlite3. NotSupportedError` ` will be raised if used
349+ SQLite 3.8.3 or higher, :exc: ` NotSupportedError ` will be raised if used
350350 with older versions.
351351
352352 The function can return any of the types supported by SQLite: bytes, str, int,
@@ -835,6 +835,13 @@ Exceptions
835835 disconnect occurs, the data source name is not found, a transaction could
836836 not be processed, etc. It is a subclass of :exc: `DatabaseError `.
837837
838+ .. exception :: NotSupportedError
839+
840+ Exception raised in case a method or database API was used which is not
841+ supported by the database, e.g. calling the :meth: `~Connection.rollback `
842+ method on a connection that does not support transaction or has
843+ transactions turned off. It is a subclass of :exc: `DatabaseError `.
844+
838845
839846.. _sqlite3-types :
840847
You can’t perform that action at this time.
0 commit comments