1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

UFollow conventions for __repr__ contents for talloc python wrapper.

This commit is contained in:
Jelmer Vernooij
2008-05-23 13:13:36 +02:00
parent 40652801fc
commit f2d437d646

View File

@ -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);
}