From: Marcin Niemira Date: Sun, 8 Jul 2018 13:58:49 +0000 (+0200) Subject: bpo-34061: Document sqlite3.NotSupportedError (GH-8172) X-Git-Tag: v3.6.7rc1~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=404156534893461165bb5b99a42cabe261dddb78;p=python bpo-34061: Document sqlite3.NotSupportedError (GH-8172) (cherry picked from commit bc9aa813a34474e517af8999565ff6151559d42f) Co-authored-by: Marcin Niemira --- diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index c93b2c88d9..f3037270ad 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -771,6 +771,13 @@ Exceptions disconnect occurs, the data source name is not found, a transaction could not be processed, etc. It is a subclass of :exc:`DatabaseError`. +.. exception:: NotSupportedError + + Exception raised in case a method or database API was used which is not + supported by the database, e.g. calling the :meth:`~Connection.rollback` + method on a connection that does not support transaction or has + transactions turned off. It is a subclass of :exc:`DatabaseError`. + .. _sqlite3-types: