1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00

UFollow conventions for __repr__ contents for talloc python wrapper.

(This used to be commit f2d437d646)
This commit is contained in:
Jelmer Vernooij
2008-05-23 13:13:36 +02:00
parent 97cac27b33
commit 9adcd8c25e

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