diff options
author | Georg Brandl <georg@python.org> | 2008-06-22 18:31:30 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-22 18:31:30 +0000 |
commit | 5290b1bebab6f3bb4bcc2b4499e35f851aabae19 (patch) | |
tree | dea50f44010f24df901a9ded716851d01e96dcee /Modules | |
parent | bf81924a2907a52dbad5ea8f2c2395a7fc8526b4 (diff) | |
download | cpython-5290b1bebab6f3bb4bcc2b4499e35f851aabae19.tar.gz |
#3157: Fix docstrings for cursor methods.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_sqlite/cursor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c index ed5e652ebb..35b08ec329 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, |