summaryrefslogtreecommitdiffstats
path: root/Doc/library/sqlite3.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/sqlite3.rst')
-rw-r--r--Doc/library/sqlite3.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 5f1676e..d2745b0 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -630,6 +630,12 @@ Connection objects
* :ref:`sqlite3-connection-shortcuts`
* :ref:`sqlite3-connection-context-manager`
+
+ .. versionchanged:: 3.13
+
+ A :exc:`ResourceWarning` is emitted if :meth:`close` is not called before
+ a :class:`!Connection` object is deleted.
+
An SQLite database connection has the following attributes and methods:
.. method:: cursor(factory=Cursor)