summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <skumaran@gatech.edu>2017-04-04 05:28:23 (GMT)
committerGitHub <noreply@github.com>2017-04-04 05:28:23 (GMT)
commit0f9ceaf322cc9358373167115fd4c21ab2d9ad50 (patch)
tree0a10589b8638fe58579c7f65bbe0039d5c7d9209
parent9881e02d690fd9638b7dff959640db51d297d151 (diff)
downloadcpython-0f9ceaf322cc9358373167115fd4c21ab2d9ad50.zip
cpython-0f9ceaf322cc9358373167115fd4c21ab2d9ad50.tar.gz
cpython-0f9ceaf322cc9358373167115fd4c21ab2d9ad50.tar.bz2
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947) (#986)
(cherry picked from commit 02e12138000da834f23719521a011fa93763384d)
-rw-r--r--Doc/library/sqlite3.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 84a4783..1419ce0 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -633,6 +633,11 @@ Cursor Objects
method. For operations other than ``INSERT`` or when :meth:`executemany` is
called, :attr:`lastrowid` is set to :const:`None`.
+ .. attribute:: arraysize
+
+ Read/write attribute that controls the number of rows returned by :meth:`fetchmany`.
+ The default value is 1 which means a single row would be fetched per call.
+
.. attribute:: description
This read-only attribute provides the column names of the last query. To