Issue #13583: sqlite3.Row now supports slice indexing.

Tests by Jessica McKellar.
This commit is contained in:
Serhiy Storchaka 2015-03-31 13:33:11 +03:00
parent 80d84c89ee
commit 72e731cc03
4 changed files with 24 additions and 2 deletions

View file

@ -649,6 +649,9 @@ Row Objects
This method returns a list of column names. Immediately after a query,
it is the first member of each tuple in :attr:`Cursor.description`.
.. versionchanged:: 3.5
Added support of slicing.
Let's assume we initialize a table as in the example given above::
conn = sqlite3.connect(":memory:")