summaryrefslogtreecommitdiffstats
path: root/Modules/_sqlite
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-19 20:53:07 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-19 20:53:07 (GMT)
commitf558d2e5f560cc2f3a5e9fed86031f7b6ea64ab5 (patch)
tree726d2948fd2177543d2c02a6d7a2446d13e961e6 /Modules/_sqlite
parente047e6dd092a7d8f512914de78a8193ba6c518c4 (diff)
downloadcpython-f558d2e5f560cc2f3a5e9fed86031f7b6ea64ab5.zip
cpython-f558d2e5f560cc2f3a5e9fed86031f7b6ea64ab5.tar.gz
cpython-f558d2e5f560cc2f3a5e9fed86031f7b6ea64ab5.tar.bz2
#1509: fix sqlite3 docstrings and docs w.r.t. cursor.fetchXXX methods.
Diffstat (limited to 'Modules/_sqlite')
-rw-r--r--Modules/_sqlite/cursor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index c9062d2..875d55b 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -991,11 +991,11 @@ static PyMethodDef cursor_methods[] = {
{"executescript", (PyCFunction)pysqlite_cursor_executescript, METH_VARARGS,
PyDoc_STR("Executes a multiple SQL statements at once. Non-standard.")},
{"fetchone", (PyCFunction)pysqlite_cursor_fetchone, METH_NOARGS,
- PyDoc_STR("Fetches several rows from the resultset.")},
+ PyDoc_STR("Fetches one row from the resultset.")},
{"fetchmany", (PyCFunction)pysqlite_cursor_fetchmany, METH_VARARGS,
- PyDoc_STR("Fetches all rows from the resultset.")},
+ PyDoc_STR("Fetches several rows from the resultset.")},
{"fetchall", (PyCFunction)pysqlite_cursor_fetchall, METH_NOARGS,
- PyDoc_STR("Fetches one row from the resultset.")},
+ PyDoc_STR("Fetches all rows from the resultset.")},
{"close", (PyCFunction)pysqlite_cursor_close, METH_NOARGS,
PyDoc_STR("Closes the cursor.")},
{"setinputsizes", (PyCFunction)pysqlite_noop, METH_VARARGS,