summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-03-31 10:33:11 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-03-31 10:33:11 (GMT)
commit72e731cc03f29cdb8bf17bd9ea34c8448954c798 (patch)
tree02c4ac35bf8bdce758dea1e363912fea0ed3a277 /Doc
parent80d84c89ee8f10cd3a5d1dfa2ea1cd51f810ec33 (diff)
downloadcpython-72e731cc03f29cdb8bf17bd9ea34c8448954c798.zip
cpython-72e731cc03f29cdb8bf17bd9ea34c8448954c798.tar.gz
cpython-72e731cc03f29cdb8bf17bd9ea34c8448954c798.tar.bz2
Issue #13583: sqlite3.Row now supports slice indexing.
Tests by Jessica McKellar.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sqlite3.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 6097e7a..fc69a80 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -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:")