summaryrefslogtreecommitdiff
path: root/source4/lib
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/lib
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/lib')
-rw-r--r--source4/lib/events/events.i2
-rw-r--r--source4/lib/events/events.py4
-rw-r--r--source4/lib/registry/registry.i6
-rw-r--r--source4/lib/registry/registry.py4
4 files changed, 14 insertions, 2 deletions
diff --git a/source4/lib/events/events.i b/source4/lib/events/events.i
index 7de8aec79d..5f790aeac5 100644
--- a/source4/lib/events/events.i
+++ b/source4/lib/events/events.i
@@ -16,7 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-%module(package="samba.events") events;
+%module(docstring="Event management.",package="samba.events") events;
%import "../talloc/talloc.i";
diff --git a/source4/lib/events/events.py b/source4/lib/events/events.py
index 264e0b7cdf..90695e3d92 100644
--- a/source4/lib/events/events.py
+++ b/source4/lib/events/events.py
@@ -3,6 +3,10 @@
#
# Don't modify this file, modify the SWIG interface instead.
+"""
+Event management.
+"""
+
import _events
import new
new_instancemethod = new.instancemethod
diff --git a/source4/lib/registry/registry.i b/source4/lib/registry/registry.i
index 7dd02b344c..9420ba2014 100644
--- a/source4/lib/registry/registry.i
+++ b/source4/lib/registry/registry.i
@@ -16,7 +16,11 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-%module registry
+%define DOCSTRING
+"Access to various registry formats and the Samba registry."
+%enddef
+
+%module(docstring=DOCSTRING) registry
%{
/* Include headers */
diff --git a/source4/lib/registry/registry.py b/source4/lib/registry/registry.py
index 4c6e735414..0aeefb86c1 100644
--- a/source4/lib/registry/registry.py
+++ b/source4/lib/registry/registry.py
@@ -3,6 +3,10 @@
#
# Don't modify this file, modify the SWIG interface instead.
+"""
+Access to various registry formats and the Samba registry.
+"""
+
import _registry
import new
new_instancemethod = new.instancemethod