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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user