summaryrefslogtreecommitdiff
path: root/lib/talloc/pytalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/talloc/pytalloc.c')
-rw-r--r--lib/talloc/pytalloc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/talloc/pytalloc.c b/lib/talloc/pytalloc.c
index 262ba493c5b..6ddcac988b0 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;