docs: def dedents(self, s, stacklevel=3):
          """
          Dedent a string and substitute with the :attr:`params` attribute
  
          Parameters
          ----------
          s: str
              string to dedent and insert the sections of the :attr:`params`
              attribute
          stacklevel: int
              The stacklevel for the warning raised in :func:`safe_module` when
              encountering an invalid key in the string"""
          s = dedents(s)
          return safe_modulo(s, self.params, stacklevel=stacklevel)