code: def format(self, object, context, maxlevels, level):
          
          return _safe_repr(object, context, maxlevels, level)
docs: 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.