Version of repr() which can handle recursive data structures.
(object)
| 67 | |
| 68 | |
| 69 | def saferepr(object): |
| 70 | """Version of repr() which can handle recursive data structures.""" |
| 71 | return PrettyPrinter()._safe_repr(object, {}, None, 0)[0] |
| 72 | |
| 73 | |
| 74 | def isreadable(object): |
nothing calls this directly
no test coverage detected