]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
pyldb: Improve docstric for whoami(), which takes no arguments.
authorAndrew Bartlett <abartlet@samba.org>
Tue, 5 Dec 2023 22:18:47 +0000 (11:18 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 3 Mar 2024 22:33:35 +0000 (22:33 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/pyldb.c

index 0c81c1ba318f5534430a9ff4d8e7e19abe52145a..61e50f1b0c32b1f68e54814ebf30c304a4791e8d 100644 (file)
@@ -2697,7 +2697,7 @@ static PyMethodDef py_ldb_methods[] = {
        { "whoami",
          (PyCFunction)py_ldb_whoami,
          METH_NOARGS,
-         "S.whoami(type) -> value\n"
+         "S.whoami() -> value\n"
          "Return the RFC4532 whoami string",
        },
        { "_register_test_extensions", (PyCFunction)py_ldb_register_test_extensions, METH_NOARGS,