diff options
-rw-r--r-- | Doc/library/sqlite3.rst | 12 | ||||
-rw-r--r-- | Misc/ACKS | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index b14ea722ff..aee444b138 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -627,6 +627,18 @@ Cursor Objects It is set for ``SELECT`` statements without any matching rows as well. + .. attribute:: connection + + This read-only attribute provides the SQLite database :class:`Connection` + used by the :class:`Cursor` object. A :class:`Cursor` object created by + calling :meth:`con.cursor() <Connection.cursor>` will have a + :attr:`connection` attribute that refers to *con*:: + + >>> con = sqlite3.connect(":memory:") + >>> cur = con.cursor() + >>> cur.connection == con + True + .. _sqlite3-row-objects: Row Objects @@ -1178,6 +1178,7 @@ Burton Radons Abhilash Raj Shorya Raj Jeff Ramnani +Varpu Rantala Brodie Rao Senko Rasic Antti Rasinen |