Issue #22613: Fix reprlib.Repr subclass example on Python 3.

Reported by Jacques Ducasse.