summaryrefslogtreecommitdiff
path: root/source4/scripting/python/misc_wrap.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-24 04:01:57 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-24 04:01:57 +0200
commit73b789b6d25698dba15c867c71d0cdd8c264f352 (patch)
treec6c94f7fffbd9461424a53fc9ebdbd5b11b95303 /source4/scripting/python/misc_wrap.c
parentb9c3aae792d06e01802c860f9cb8a463fb2a7428 (diff)
downloadsamba-73b789b6d25698dba15c867c71d0cdd8c264f352.tar.gz
samba-73b789b6d25698dba15c867c71d0cdd8c264f352.tar.bz2
samba-73b789b6d25698dba15c867c71d0cdd8c264f352.zip
Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
Diffstat (limited to 'source4/scripting/python/misc_wrap.c')
-rw-r--r--source4/scripting/python/misc_wrap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/python/misc_wrap.c b/source4/scripting/python/misc_wrap.c
index 22a072fc6f..8c57237e5b 100644
--- a/source4/scripting/python/misc_wrap.c
+++ b/source4/scripting/python/misc_wrap.c
@@ -3216,7 +3216,10 @@ fail:
static PyMethodDef SwigMethods[] = {
- { (char *)"random_password", (PyCFunction) _wrap_random_password, METH_VARARGS | METH_KEYWORDS, NULL},
+ { (char *)"random_password", (PyCFunction) _wrap_random_password, METH_VARARGS | METH_KEYWORDS, (char *)"\n"
+ "S.random_password(len) -> string\n"
+ "Generate random password with specified length.\n"
+ ""},
{ (char *)"ldb_set_credentials", (PyCFunction) _wrap_ldb_set_credentials, METH_VARARGS | METH_KEYWORDS, (char *)"\n"
"S.set_credentials(credentials)\n"
"Set credentials to use when connecting.\n"