Use richtext representation for ResourceId when converting to string

This commit is contained in:
baldurk
2020-12-15 14:41:13 +00:00
parent d727feb806
commit 2b0f9c2eba
+1 -1
View File
@@ -48,7 +48,7 @@ static PyObject *resid_str(PyObject *resid)
id = (unsigned long long *)resptr;
static_assert(sizeof(unsigned long long) == sizeof(ResourceId), "Wrong size");
return PyUnicode_FromFormat("<ResourceId %llu>", *id);
return PyUnicode_FromFormat("ResourceId::%llu", *id);
fail:
return NULL;
}