class_docstr: Customized ArgumentParser for LLM Magics.
  
  This class overrides the parent argparse.ArgumentParser's error-handling
  methods to avoid side-effects like printing to stderr. The messages are
  accumulated and passed into the raised exceptions for the caller to
  handle them.
docstr: Override ArgumentParser's _print_message() method.
docstr_tok: ["Override","ArgumentParser","'s","_print_message","(",")","method","."]
code: def _print_message(self, message, file=None):
      """Override ArgumentParser's _print_message() method."""
      del file
      self._messages.append(message)
  
imports: from __future__ import annotations
  import abc
  import argparse
  from typing import Sequence
  from google.generativeai.notebook import ipython_env
label_desc: Use image node_id 2 for calling the ArgumentParser obj's underlying member method code with example usage: obj._print_message(message, file) without return types