summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKirill Smelkov <kirr@mns.spb.ru>2009-10-21 21:18:55 +0400
committerRusty Russell <rusty@rustcorp.com.au>2009-10-29 10:14:33 +1030
commitcfed5f946de0992a594c189ee3c19cf98e59d380 (patch)
tree2c009541230a15a2438ff02e9a4ddc9a2f0b8dc2 /lib
parentecbe5ebd8d1c44a478c613eb1cace0521142d0d3 (diff)
downloadsamba-cfed5f946de0992a594c189ee3c19cf98e59d380.tar.gz
samba-cfed5f946de0992a594c189ee3c19cf98e59d380.tar.bz2
samba-cfed5f946de0992a594c189ee3c19cf98e59d380.zip
tdb: fix typo in python's Tdb.get() docstring
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/tdb/pytdb.c2
1 files changed, 1 insertions, 1 deletions
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." },