code: def parse_options(self, options):
          
          for name in self.get_option_names():
              parse = getattr(self, "parse_option_{name:s}".format(
                  name=name), None)
              if parse is not None and isinstance(parse, collections.Callable):
                  options[name] = parse()
          return options
docs: Perform any required parsing on the option values from optparse.
          Attempts to call a parse_option_<name> method for each option name
          returned by self.get_option_names().