mirror of https://github.com/python/cpython
#3157: Fix docstrings for cursor methods.
This commit is contained in:
parent
3255e134fe
commit
6fa30f40b5
|
@ -981,11 +981,11 @@ static PyMethodDef cursor_methods[] = {
|
||||||
{"executescript", (PyCFunction)cursor_executescript, METH_VARARGS,
|
{"executescript", (PyCFunction)cursor_executescript, METH_VARARGS,
|
||||||
PyDoc_STR("Executes a multiple SQL statements at once. Non-standard.")},
|
PyDoc_STR("Executes a multiple SQL statements at once. Non-standard.")},
|
||||||
{"fetchone", (PyCFunction)cursor_fetchone, METH_NOARGS,
|
{"fetchone", (PyCFunction)cursor_fetchone, METH_NOARGS,
|
||||||
PyDoc_STR("Fetches several rows from the resultset.")},
|
|
||||||
{"fetchmany", (PyCFunction)cursor_fetchmany, METH_VARARGS,
|
|
||||||
PyDoc_STR("Fetches all rows from the resultset.")},
|
|
||||||
{"fetchall", (PyCFunction)cursor_fetchall, METH_NOARGS,
|
|
||||||
PyDoc_STR("Fetches one row from the resultset.")},
|
PyDoc_STR("Fetches one row from the resultset.")},
|
||||||
|
{"fetchmany", (PyCFunction)cursor_fetchmany, METH_VARARGS,
|
||||||
|
PyDoc_STR("Fetches several rows from the resultset.")},
|
||||||
|
{"fetchall", (PyCFunction)cursor_fetchall, METH_NOARGS,
|
||||||
|
PyDoc_STR("Fetches all rows from the resultset.")},
|
||||||
{"close", (PyCFunction)cursor_close, METH_NOARGS,
|
{"close", (PyCFunction)cursor_close, METH_NOARGS,
|
||||||
PyDoc_STR("Closes the cursor.")},
|
PyDoc_STR("Closes the cursor.")},
|
||||||
{"setinputsizes", (PyCFunction)pysqlite_noop, METH_VARARGS,
|
{"setinputsizes", (PyCFunction)pysqlite_noop, METH_VARARGS,
|
||||||
|
|
Loading…
Reference in New Issue