Mercurial > cpython-lru_cache-weakref
diff Modules/_sqlite/cursor.c @ 47807:68cf3cbb21d2 2.5
#3157: Fix docstrings for cursor methods.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 22 Jun 2008 18:31:30 +0000 |
| parents | fb5eaa4be700 |
| children | 787b969d37f0 |
line wrap: on
line diff
--- a/Modules/_sqlite/cursor.c Mon Jun 16 19:22:42 2008 +0000 +++ b/Modules/_sqlite/cursor.c Sun Jun 22 18:31:30 2008 +0000 @@ -981,11 +981,11 @@ {"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 one row from the resultset.")}, + {"fetchmany", (PyCFunction)cursor_fetchmany, METH_VARARGS, PyDoc_STR("Fetches several rows from the resultset.")}, - {"fetchmany", (PyCFunction)cursor_fetchmany, METH_VARARGS, + {"fetchall", (PyCFunction)cursor_fetchall, METH_NOARGS, PyDoc_STR("Fetches all rows from the resultset.")}, - {"fetchall", (PyCFunction)cursor_fetchall, METH_NOARGS, - PyDoc_STR("Fetches one row from the resultset.")}, {"close", (PyCFunction)cursor_close, METH_NOARGS, PyDoc_STR("Closes the cursor.")}, {"setinputsizes", (PyCFunction)pysqlite_noop, METH_VARARGS,
