diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-05-24 04:01:57 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-05-24 04:01:57 +0200 |
commit | 73b789b6d25698dba15c867c71d0cdd8c264f352 (patch) | |
tree | c6c94f7fffbd9461424a53fc9ebdbd5b11b95303 /source4/auth | |
parent | b9c3aae792d06e01802c860f9cb8a463fb2a7428 (diff) | |
download | samba-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/auth')
-rw-r--r-- | source4/auth/auth.i | 6 | ||||
-rw-r--r-- | source4/auth/auth.py | 4 | ||||
-rw-r--r-- | source4/auth/credentials/credentials.i | 2 | ||||
-rw-r--r-- | source4/auth/credentials/credentials.py | 4 |
4 files changed, 14 insertions, 2 deletions
diff --git a/source4/auth/auth.i b/source4/auth/auth.i index b1743ef765..67c8137f67 100644 --- a/source4/auth/auth.i +++ b/source4/auth/auth.i @@ -16,7 +16,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -%module(package="samba.auth") auth +%define DOCSTRING +"Authentication and authorization support." +%enddef + +%module(docstring=DOCSTRING,package="samba.auth") auth %{ diff --git a/source4/auth/auth.py b/source4/auth/auth.py index 1a7aa6d0e7..226175a75b 100644 --- a/source4/auth/auth.py +++ b/source4/auth/auth.py @@ -3,6 +3,10 @@ # # Don't modify this file, modify the SWIG interface instead. +""" +Authentication and authorization support. +""" + import _auth import new new_instancemethod = new.instancemethod diff --git a/source4/auth/credentials/credentials.i b/source4/auth/credentials/credentials.i index 89eb4924b3..bb31d6d4c0 100644 --- a/source4/auth/credentials/credentials.i +++ b/source4/auth/credentials/credentials.i @@ -16,7 +16,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -%module(package="samba.credentials") credentials +%module(docstring="Credentials management.",package="samba.credentials") credentials %{ diff --git a/source4/auth/credentials/credentials.py b/source4/auth/credentials/credentials.py index fd00a8e6f0..2cd56c3599 100644 --- a/source4/auth/credentials/credentials.py +++ b/source4/auth/credentials/credentials.py @@ -3,6 +3,10 @@ # # Don't modify this file, modify the SWIG interface instead. +""" +Credentials management. +""" + import _credentials import new new_instancemethod = new.instancemethod |