code: def _vararg_callback(option, opt_str, value, parser):
      assert value is None
      value = []
  
      for arg in parser.rargs:
          # stop on --foo like options
          if arg[:2] == "--" and len(arg) > 2:
              break
          if arg[:1] == "-" and len(arg) > 1:
              break
          value.append(arg)
  
      del parser.rargs[: len(value)]
      setattr(parser.values, option.dest, value)
  
imports: import mne
  from mne.bem import convert_flash_mris, make_flash_bem
label_desc: Use image node_id 1 for calling a global function with example usage: _vararg_callback(option, opt_str, value, parser) without return types