class_docstr: Raised if an Argument instance is created with invalid or
  inconsistent arguments.
code: def __init__(self, msg: str, option: Union["Argument", str]) -> None:
      self.msg = msg
      self.option_id = str(option)
  
imports: import argparse
  import os
  import sys
  import warnings
  from gettext import gettext
  from typing import Any
  from typing import Callable
  from typing import cast
  from typing import Dict
  from typing import List
  from typing import Mapping
  from typing import NoReturn
  from typing import Optional
  from typing import Sequence
  from typing import Tuple
  from typing import TYPE_CHECKING
  from typing import Union
  import _pytest._io
  from _pytest.compat import final
  from _pytest.config.exceptions import UsageError
  from _pytest.deprecated import ARGUMENT_PERCENT_DEFAULT
  from _pytest.deprecated import ARGUMENT_TYPE_STR
  from _pytest.deprecated import ARGUMENT_TYPE_STR_CHOICE
  from _pytest.deprecated import check_ispytest
label_desc: Use image node_id 1 to create a new ArgumentError object from inherited base classes: Exception with example: obj = ArgumentError(msg, option)