diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-05 17:06:58 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-05 18:12:59 +0100 |
commit | 889793566089a618bdce0279af580e42fcc70275 (patch) | |
tree | 5e8cd7b08db81cd5a1f10b8fb499c8e985bd269b /lib | |
parent | 71671a84bbb93cee24f972b9ef72612166290ee0 (diff) | |
download | samba-889793566089a618bdce0279af580e42fcc70275.tar.gz samba-889793566089a618bdce0279af580e42fcc70275.tar.bz2 samba-889793566089a618bdce0279af580e42fcc70275.zip |
pytalloc: Add docstring for talloc.Object.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Dec 5 18:12:59 CET 2010 on sn-devel-104
Diffstat (limited to 'lib')
-rw-r--r-- | lib/talloc/pytalloc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c index 262ba493c5..6ddcac988b 100644 --- a/lib/talloc/pytalloc.c +++ b/lib/talloc/pytalloc.c @@ -114,6 +114,7 @@ static int py_talloc_default_cmp(PyObject *_obj1, PyObject *_obj2) static PyTypeObject TallocObject_Type = { .tp_name = "talloc.Object", + .tp_doc = "Python wrapper for a talloc-maintained object.", .tp_basicsize = sizeof(py_talloc_Object), .tp_dealloc = (destructor)py_talloc_dealloc, .tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE, @@ -128,7 +129,8 @@ void inittalloc(void) if (PyType_Ready(&TallocObject_Type) < 0) return; - m = Py_InitModule3("talloc", talloc_methods, "Debug utilities for talloc-wrapped objects."); + m = Py_InitModule3("talloc", talloc_methods, + "Python wrapping of talloc-maintained objects."); if (m == NULL) return; |