repr-like function that takes any object
Bug #849843 reported by
Jonathan Lange
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testtools |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In t.compat, we now have a function called text_repr() that takes any sort of text-like thing and turns it into printable unicode.
We should have a function that does the same thing, but works for any object. This would simplify some of the callsites to text_repr.
To post a comment you must log in.