From: Andrew Bartlett Date: Mon, 25 Mar 2024 09:30:29 +0000 (+1300) Subject: pyldb: Fix documentation comment on Message.from_dict() method X-Git-Tag: tdb-1.4.11~1355 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37327afd0aa486c8e07bb8a7ad0cc1d8641931e1;p=thirdparty%2Fsamba.git 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 --- 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,