mirror of
https://github.com/python/cpython.git
synced 2025-12-15 21:44:50 +00:00
Issue #13583: sqlite3.Row now supports slice indexing.
Tests by Jessica McKellar.
This commit is contained in:
parent
80d84c89ee
commit
72e731cc03
4 changed files with 24 additions and 2 deletions
|
|
@ -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:")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue