The equivalent to the built-in repr() that uses the formatting imposed by the instance.
reprlib/Repr.repr
Repr.repr