From 73b789b6d25698dba15c867c71d0cdd8c264f352 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 24 May 2008 04:01:57 +0200 Subject: Add docstrings to a couple more python modules. (This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23) --- source4/auth/auth.i | 6 +++++- source4/auth/auth.py | 4 ++++ source4/auth/credentials/credentials.i | 2 +- source4/auth/credentials/credentials.py | 4 ++++ 4 files changed, 14 insertions(+), 2 deletions(-) (limited to 'source4/auth') 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 . */ -%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 . */ -%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 -- cgit