parameters: (self, argv=None, usage=None, description=None,
                               settings_spec=None, config_section=None,
                               **defaults)
docstring: Pass an empty list to `argv` to avoid reading `sys.argv` (the
          default).
  
          Set components first (`self.set_reader` & `self.set_writer`).
docstring_summary: Pass an empty list to `argv` to avoid reading `sys.argv` (the
          default).
docstring_tokens: Pass an empty list to argv to avoid reading sys . argv ( the default ) .
function: def process_command_line(self, argv=None, usage=None, description=None,
                               settings_spec=None, config_section=None,
                               **defaults):
          """
          Pass an empty list to `argv` to avoid reading `sys.argv` (the
          default).
  
          Set components first (`self.set_reader` & `self.set_writer`).
          """
          option_parser = self.setup_option_parser(
              usage, description, settings_spec, config_section, **defaults)
          if argv is None:
              argv = sys.argv[1:]
              # converting to Unicode (Python 3 does this automatically):
              if sys.version_info < (3,0):
                  # TODO: make this failsafe and reversible?
                  argv_encoding = (frontend.locale_encoding or 'ascii')
                  argv = [a.decode(argv_encoding) for a in argv]
          self.settings = option_parser.parse_args(argv)
function_tokens: def process_command_line ( self , argv = None , usage = None , description = None , settings_spec = None , config_section = None , * * defaults ) : option_parser = self . setup_option_parser ( usage , description , settings_spec , config_section , * * defaults ) if argv is None : argv = sys . argv [ 1 : ] # converting to Unicode (Python 3 does this automatically): if sys . version_info < ( 3 , 0 ) : # TODO: make this failsafe and reversible? argv_encoding = ( frontend . locale_encoding or 'ascii' ) argv = [ a . decode ( argv_encoding ) for a in argv ] self . settings = option_parser . parse_args ( argv )