12.4. Idiom Ascii

As repr(), return a string containing a printable representation of an object, but escape the non-ASCII characters in the string returned by repr() using x, u, or U escapes [1].

12.4.1. References