docs: def option_getter(type):
      """Gets an unbound method to get a configuration option as the given type.
      """
      option_getters = {None: ConfigParser.get,
                        int: ConfigParser.getint,
                        float: ConfigParser.getfloat,
                        bool: ConfigParser.getboolean}
      return option_getters.get(type, option_getters[None])