code: def get_default(self, section, option, default=None, type=None, expandvars=False,
              expanduser=False):
          
          if self.has_section(section) and self.has_option(section, option):
              value = self.get(section, option)
              if isinstance(value, six.string_types):
                  if expandvars:
                      value = os.path.expandvars(value)
                  if expanduser:
                      value = os.path.expanduser(value)
              return value if not type else self._get_type_converter(type)(value)
          else:
              return default
docs: Returns the config value defined by *section* and *option*. When either the section or the
          option does not exist, the *default* value is returned instead. When *type* is set, it must
          be either `"str"`, `"int"`, `"float"`, or `"boolean"`. When *expandvars* is *True*,
          environment variables are expanded. When *expanduser* is *True*, user variables are
          expanded as well.