docs: def _clob_end_handler_factory():
      """Generates the handler for the end of a clob value. This includes anything from the data's closing quote through
      the second closing brace.
      """
      def action(c, ctx, prev, res, is_first):
          if is_first and ctx.is_self_delimiting and c == _DOUBLE_QUOTE:
              assert c is prev
              return res
          _illegal_character(c, ctx)
  
      return _lob_end_handler_factory(IonType.CLOB, action)