parameters: (self, args)
return_statement: return args
docstring: Given a list of arguments, set this object's options and return
      all non-option arguments.
docstring_summary: Given a list of arguments, set this object's options and return
      all non-option arguments.
docstring_tokens: Given a list of arguments set this object s options and return all non - option arguments .
function: def ParseOptions(self, args):
      '''Given a list of arguments, set this object's options and return
      all non-option arguments.
      '''
      (own_opts, args) = getopt.getopt(args, 'e:h:u:n:r', ['pre=', 'post='])
      for (key, val) in own_opts:
        if key == '-e':
          self.input_encoding = val
        elif key == '-h':
          self.html_type = val
        elif key == '-u':
          self.html_encoding = val
        elif key == '-n':
          self.not_localizable_re = re.compile(val)
        elif key == '-r':
          self.role_model = grd_reader.Parse(val)
        elif key == '--pre':
          self.pre_process = val
        elif key == '--post':
          self.post_process = val
      return args
function_tokens: def ParseOptions ( self , args ) : ( own_opts , args ) = getopt . getopt ( args , 'e:h:u:n:r' , [ 'pre=' , 'post=' ] ) for ( key , val ) in own_opts : if key == '-e' : self . input_encoding = val elif key == '-h' : self . html_type = val elif key == '-u' : self . html_encoding = val elif key == '-n' : self . not_localizable_re = re . compile ( val ) elif key == '-r' : self . role_model = grd_reader . Parse ( val ) elif key == '--pre' : self . pre_process = val elif key == '--post' : self . post_process = val return args