summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-22 18:31:30 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-22 18:31:30 (GMT)
commit6fa30f40b50e9f98579d16ee8358b75b898f13de (patch)
tree7fbea7ba1e341b273d17c3e4e6a714a240e7f519 /Modules
parent3255e134fea656b8a142720fe7005204015c5781 (diff)
downloadcpython-6fa30f40b50e9f98579d16ee8358b75b898f13de.zip
cpython-6fa30f40b50e9f98579d16ee8358b75b898f13de.tar.gz
cpython-6fa30f40b50e9f98579d16ee8358b75b898f13de.tar.bz2
#3157: Fix docstrings for cursor methods.
Diffstat (limited to 'Modules')
-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 ed5e652..35b08ec 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -981,11 +981,11 @@ static PyMethodDef cursor_methods[] = {
{"executescript", (PyCFunction)cursor_executescript, METH_VARARGS,
PyDoc_STR("Executes a multiple SQL statements at once. Non-standard.")},
{"fetchone", (PyCFunction)cursor_fetchone, METH_NOARGS,
- PyDoc_STR("Fetches several rows from the resultset.")},
+ PyDoc_STR("Fetches one row from the resultset.")},
{"fetchmany", (PyCFunction)cursor_fetchmany, METH_VARARGS,
- PyDoc_STR("Fetches all rows from the resultset.")},
+ PyDoc_STR("Fetches several rows from the resultset.")},
{"fetchall", (PyCFunction)cursor_fetchall, METH_NOARGS,
- PyDoc_STR("Fetches one row from the resultset.")},
+ PyDoc_STR("Fetches all rows from the resultset.")},
{"close", (PyCFunction)cursor_close, METH_NOARGS,
PyDoc_STR("Closes the cursor.")},
{"setinputsizes", (PyCFunction)pysqlite_noop, METH_VARARGS,