From 37327afd0aa486c8e07bb8a7ad0cc1d8641931e1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 25 Mar 2024 22:30:29 +1300 Subject: [PATCH] pyldb: Fix documentation comment on Message.from_dict() method This method does not take keyword arguments. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- lib/ldb/pyldb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 60ec4d299c4..fc11599a93d 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -3748,7 +3748,7 @@ static PyObject *py_ldb_msg_add(PyLdbMessageObject *self, PyObject *args) static PyMethodDef py_ldb_msg_methods[] = { { "from_dict", (PyCFunction)py_ldb_msg_from_dict, METH_CLASS | METH_VARARGS, - "Message.from_dict(ldb, dict, mod_flag=FLAG_MOD_REPLACE) -> ldb.Message\n" + "Message.from_dict(ldb, dict, mod_flag) -> ldb.Message\n" "Class method to create ldb.Message object from Dictionary.\n" "mod_flag is one of FLAG_MOD_ADD, FLAG_MOD_REPLACE or FLAG_MOD_DELETE."}, { "keys", (PyCFunction)py_ldb_msg_keys, METH_NOARGS, -- 2.11.4.GIT