Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
bc9aa813
Commit
bc9aa813
authored
Jul 08, 2018
by
Marcin Niemira
Committed by
Berker Peksag
Jul 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-34061: Document sqlite3.NotSupportedError (GH-8172)
parent
25b804a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
Doc/library/sqlite3.rst
Doc/library/sqlite3.rst
+8
-1
No files found.
Doc/library/sqlite3.rst
View file @
bc9aa813
...
...
@@ -346,7 +346,7 @@ Connection Objects
called as the SQL function. If *deterministic* is true, the created function
is marked as `deterministic <https://sqlite.org/deterministic.html>`_, which
allows SQLite to perform additional optimizations. This flag is supported by
SQLite 3.8.3 or higher,
``sqlite3.NotSupportedError`
` will be raised if used
SQLite 3.8.3 or higher,
:exc:`NotSupportedError
` will be raised if used
with older versions.
The function can return any of the types supported by SQLite: bytes, str, int,
...
...
@@ -835,6 +835,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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment