Format object for a specific context, returning a string and flags indicating whether the representation is 'readable' and whether the object represents a recursive construct.
(self, object, context, maxlevels, level)
| 479 | return repr |
| 480 | |
| 481 | def format(self, object, context, maxlevels, level): |
| 482 | """Format object for a specific context, returning a string |
| 483 | and flags indicating whether the representation is 'readable' |
| 484 | and whether the object represents a recursive construct. |
| 485 | """ |
| 486 | return self._safe_repr(object, context, maxlevels, level) |
| 487 | |
| 488 | def _pprint_default_dict(self, object, stream, indent, allowance, context, level): |
| 489 | if not len(object): |
no test coverage detected