parameters: (parser: str)
docstring: Make sure a valid parser is passed.
  
      Parameters
      ----------
      parser : str
  
      Raises
      ------
      KeyError
        * If an invalid parser is passed
docstring_summary: Make sure a valid parser is passed.
docstring_tokens: Make sure a valid parser is passed .
function: def _check_parser(parser: str):
      """
      Make sure a valid parser is passed.
  
      Parameters
      ----------
      parser : str
  
      Raises
      ------
      KeyError
        * If an invalid parser is passed
      """
  
      if parser not in _parsers:
          raise KeyError(
              f"Invalid parser {repr(parser)} passed, "
              f"valid parsers are {_parsers.keys()}"
          )
function_tokens: def _check_parser ( parser : str ) : if parser not in _parsers : raise KeyError ( f"Invalid parser {repr(parser)} passed, " f"valid parsers are {_parsers.keys()}" )