class_repr
No overview available.
def class_repr(
instance: object
) - > string
Generates a string representation of an object's class name and its memory address. Use this to provide a standard Python-style identifier for debugging or logging purposes.
Parameters
| Name | Type | Description |
|---|---|---|
| instance | object | The object instance for which the class representation is being generated. |
Returns
| Type | Description |
|---|---|
string | A formatted string containing the class name and the hexadecimal memory address of the instance, enclosed in angle brackets. |