]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ldb: Clarify documentation for PyObject_AsMessageElement()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 6 Jul 2023 23:18:49 +0000 (11:18 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:37 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/pyldb.c

index 874a64f554e5f6b9369869db3622600a3fdcc871..7b38cdb3ce6c263494605d3893a0effcd58da956 100644 (file)
@@ -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(