repr |
| repr(object) |
Returns a string containing a printable representation of an object (built-in). |
| object | ?? |
| REMARKS |
| * No prefix required - Core * Return a string containing a printable representation of an object. For many types, this function makes an attempt to return a string that would yield an object with the same value when passed to eval(); otherwise, the representation is a string enclosed in angle brackets that contains the name of the type of the object together with additional information often including the name and address of the object. A class can control what this function returns for its instances by defining a __repr__() method. If sys.displayhook() is not accessible, this function will raise RuntimeError. * You can use the ASCII statement to * For the Official documentation refer to python.org |
??
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top