def METHOD_NAME(self, val, stream, indent, allowance, context, level):
    if ElidedWrapper.is_wrappable(val):
        elided_val = ElidedWrapper(val, self.threshold, indent)
        return self.METHOD_NAME(elided_val, stream, indent, allowance, context, level)
    else:
        return PrettyPrinter.METHOD_NAME(
            self, val, stream, indent, allowance, context, level
        )