1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

Add docstrings to a couple more python modules.

(This used to be commit b4560c90e5)
This commit is contained in:
Jelmer Vernooij
2008-05-24 04:01:57 +02:00
parent b9c3aae792
commit 73b789b6d2
20 changed files with 136 additions and 18 deletions

View File

@ -3,6 +3,10 @@
#
# Don't modify this file, modify the SWIG interface instead.
"""
Python bindings for miscellaneous Samba functions.
"""
import _misc
import new
new_instancemethod = new.instancemethod
@ -61,7 +65,13 @@ import ldb
import credentials
import param
import security
random_password = _misc.random_password
def random_password(*args, **kwargs):
"""
S.random_password(len) -> string
Generate random password with specified length.
"""
return _misc.random_password(*args, **kwargs)
def ldb_set_credentials(*args, **kwargs):
"""