Skip to content

Commit

Permalink
python#26250: merge with 3.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezio-melotti committed Mar 18, 2016
2 parents 32cba67 + 62564db commit 6840632
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -1178,6 +1178,7 @@ Burton Radons
Abhilash Raj
Shorya Raj
Jeff Ramnani
Varpu Rantala
Brodie Rao
Senko Rasic
Antti Rasinen
Expand Down

0 comments on commit 6840632

Please sign in to comment.