summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-23 13:13:36 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 13:13:36 +0200
commit9adcd8c25e7e51ac7e4767763750c67e334bcdbb (patch)
treee2b702deb0168cde5c821dce242b93961a394c73
parent97cac27b334350f4452a7fe60658f533d851bbb9 (diff)
downloadsamba-9adcd8c25e7e51ac7e4767763750c67e334bcdbb.tar.gz
samba-9adcd8c25e7e51ac7e4767763750c67e334bcdbb.tar.bz2
samba-9adcd8c25e7e51ac7e4767763750c67e334bcdbb.zip
UFollow conventions for __repr__ contents for talloc python wrapper.
(This used to be commit f2d437d646d0694498c14bc951f9745c4ecd902d)
-rw-r--r--source4/scripting/python/pytalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/pytalloc.c b/source4/scripting/python/pytalloc.c
index aa0ae9bf90..d669eb0f24 100644
--- a/source4/scripting/python/pytalloc.c
+++ b/source4/scripting/python/pytalloc.c
@@ -41,5 +41,5 @@ PyObject *py_talloc_default_repr(PyObject *py_obj)
py_talloc_Object *obj = (py_talloc_Object *)py_obj;
PyTypeObject *type = (PyTypeObject*)PyObject_Type((PyObject *)obj);
- return PyString_FromFormat("<%s>", type->tp_name);
+ return PyString_FromFormat("<%s talloc object at 0x%x>", type->tp_name, (intptr_t)py_obj);
}