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