summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-10-19 15:40:22 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-10-19 15:40:22 +0300
commit43942e79a1ea955b2b7ba3a635921f579455cb5f (patch)
tree3a68a055d27468b38b58c4a219a3d4e2742b0638 /python
parentc24d1fb4efcc5f09d8f126824a3ed2fc771f5a1f (diff)
downloadlibrpm-tizen-43942e79a1ea955b2b7ba3a635921f579455cb5f.tar.gz
librpm-tizen-43942e79a1ea955b2b7ba3a635921f579455cb5f.tar.bz2
librpm-tizen-43942e79a1ea955b2b7ba3a635921f579455cb5f.zip
Python dbMatch() doesn't take (or need) len argument, fix the docs
Diffstat (limited to 'python')
-rw-r--r--python/rpmts-py.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/rpmts-py.c b/python/rpmts-py.c
index bc010ec3f..16a824318 100644
--- a/python/rpmts-py.c
+++ b/python/rpmts-py.c
@@ -679,7 +679,7 @@ static struct PyMethodDef rpmts_methods[] = {
{"setKeyring", (PyCFunction) rpmts_setKeyring, METH_O,
NULL },
{"dbMatch", (PyCFunction) rpmts_Match, METH_VARARGS|METH_KEYWORDS,
-"ts.dbMatch([TagN, [key, [len]]]) -> mi\n\
+"ts.dbMatch([TagN, [key]]) -> mi\n\
- Create a match iterator for the default transaction rpmdb.\n" },
{NULL, NULL} /* sentinel */
};