class_docstr: OverrideDefaultListAction
  
  An argparse action that works similarly to the regular 'append' action.
  The default value is deleted when a new value is specified. The 'append'
  action would append the new value to the default.
  
  Parameters
  ----------
  sep : str, optional
      Separator to be used if multiple values should be parsed from a list.
class_docstr_tok: ["OverrideDefaultListAction","An","argparse","action","that","works","similarly","to","the","regular","'append","'","action",".","The","default","value","is","deleted","when","a","new","value","is","specified",".","The","'append'","action","would","append","the","new","value","to","the","default",".","Parameters","--","--","--","--","--","sep",":","str",",","optional","Separator","to","be","used","if","multiple","values","should","be","parsed","from","a","list","."]
code: def __init__(self, sep=None, *args, **kwargs):
      super(OverrideDefaultListAction, self).__init__(*args, **kwargs)
      self.set_to_default = True
      # save the type as the type for the list
      self.list_type = self.type
      if sep is not None:
          # if multiple values (separated by the given separator) should be
          # parsed we need to fake the type of the argument to be a string
          self.type = str
      self.sep = sep
  
imports: from __future__ import absolute_import, division, print_function
  import argparse
  import contextlib
  import io
  import numpy
label_desc: Use image node_id 1 to create a new OverrideDefaultListAction object from inherited base classes: argparse with example: obj = OverrideDefaultListAction(sep)