diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index b14ea72..c9d543d 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -626,6 +626,18 @@ Cursor Objects column where the last six items of each tuple are :const:`None`. It is set for ``SELECT`` statements without any matching rows as well. + + .. attribute:: connection + + Cursors are created by the connection.cursor() method. Connection is a + read-only attribute that provides the :class:`Cursor` :class:`Connection` + to the SQLite database. A cursor created from :class:`Connection` using + the :meth:`~Connection.cursor` method will have *con* as its attribute:: + + >>> con = sqlite3.connect(":memory:") + >>> cur = con.cursor() + >>> cur.connection == con + True .. _sqlite3-row-objects: diff --git a/Doc/tools/pydoctheme/static/pydoctheme.css b/Doc/tools/pydoctheme/static/pydoctheme.css index 50835bb..6ea5aab 100644 --- a/Doc/tools/pydoctheme/static/pydoctheme.css +++ b/Doc/tools/pydoctheme/static/pydoctheme.css @@ -176,3 +176,8 @@ div.footer a:hover { .stableabi { color: #229; } + +.highlight{ + background: none; +} +