code: def get_expanded(self, *args, **kwargs):
          
          kwargs.setdefault("expandvars", True)
          kwargs.setdefault("expanduser", True)
          return self.get_default(*args, **kwargs)
docs: Same as :py:meth:`get_default`, but *expandvars* and *expanduser* arguments are set to
          *True* by default.