From d278f97d5e9d4266f940e7f65229747906a3b759 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Fri, 7 Jul 2023 11:18:49 +1200 Subject: [PATCH] ldb: Clarify documentation for PyObject_AsMessageElement() Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- lib/ldb/pyldb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ldb/pyldb.c b/lib/ldb/pyldb.c index 874a64f554e..7b38cdb3ce6 100644 --- a/lib/ldb/pyldb.c +++ b/lib/ldb/pyldb.c @@ -3138,12 +3138,12 @@ static PyTypeObject PyLdbModule = { * This will accept any sequence objects that contains strings, or * a string object. * - * A reference to set_obj will be borrowed. + * A reference to set_obj might be borrowed. * * @param mem_ctx Memory context * @param set_obj Python object to convert - * @param flags ldb_message_element flags to set - * @param attr_name Name of the attribute + * @param flags ldb_message_element flags to set, if a new element is returned + * @param attr_name Name of the attribute to set, if a new element is returned * @return New ldb_message_element, allocated as child of mem_ctx */ static struct ldb_message_element *PyObject_AsMessageElement( -- 2.47.3