From cfed5f946de0992a594c189ee3c19cf98e59d380 Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Wed, 21 Oct 2009 21:18:55 +0400 Subject: tdb: fix typo in python's Tdb.get() docstring It's Tdb.get(), not Tdb.fetch(). Signed-off-by: Kirill Smelkov Signed-off-by: Rusty Russell --- lib/tdb/pytdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c index 0d63391450..202dca1571 100644 --- a/lib/tdb/pytdb.c +++ b/lib/tdb/pytdb.c @@ -337,7 +337,7 @@ static PyMethodDef tdb_object_methods[] = { { "read_lock_all", (PyCFunction)obj_lockall_read, METH_NOARGS, NULL }, { "read_unlock_all", (PyCFunction)obj_unlockall_read, METH_NOARGS, NULL }, { "close", (PyCFunction)obj_close, METH_NOARGS, NULL }, - { "get", (PyCFunction)obj_get, METH_VARARGS, "S.fetch(key) -> value\n" + { "get", (PyCFunction)obj_get, METH_VARARGS, "S.get(key) -> value\n" "Fetch a value." }, { "append", (PyCFunction)obj_append, METH_VARARGS, "S.append(key, value) -> None\n" "Append data to an existing key." }, -- cgit