summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-08-23 20:40:01 (GMT)
committerGeorg Brandl <georg@python.org>2007-08-23 20:40:01 (GMT)
commit891f1d339b742986d0abdc288d02cfdf57121e4e (patch)
treefa581daf609abbdfd71901ea84b934067c62f0c0 /Doc
parent8d9e84554ebfa4e864e75981bae20fed41094bc9 (diff)
downloadcpython-891f1d339b742986d0abdc288d02cfdf57121e4e.zip
cpython-891f1d339b742986d0abdc288d02cfdf57121e4e.tar.gz
cpython-891f1d339b742986d0abdc288d02cfdf57121e4e.tar.bz2
Bug #1573854: fix docs for sqlite3 cursor rowcount attr.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sqlite3.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 707092b..bee32e6 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -440,9 +440,6 @@ A :class:`Cursor` instance has the following attributes and methods:
attribute, the database engine's own support for the determination of "rows
affected"/"rows selected" is quirky.
- For ``SELECT`` statements, :attr:`rowcount` is always None because we cannot
- determine the number of rows a query produced until all rows were fetched.
-
For ``DELETE`` statements, SQLite reports :attr:`rowcount` as 0 if you make a
``DELETE FROM table`` without any condition.
@@ -453,6 +450,9 @@ A :class:`Cursor` instance has the following attributes and methods:
case no executeXX() has been performed on the cursor or the rowcount of the last
operation is not determinable by the interface".
+ This includes ``SELECT`` statements because we cannot determine the number of
+ rows a query produced until all rows were fetched.
+
.. _sqlite3-types: