tdb: fix typo in python's Tdb.get() docstring
authorKirill Smelkov <kirr@mns.spb.ru>
Wed, 21 Oct 2009 17:18:55 +0000 (21:18 +0400)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 28 Oct 2009 23:44:33 +0000 (10:14 +1030)
It's Tdb.get(), not Tdb.fetch().

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
lib/tdb/pytdb.c

index 0d63391450b0d63b30c58c7caf8dcdc7ed1d3db7..202dca1571e495496de2944e6c829e5b07b9b112 100644 (file)
@@ -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." },