docs: def delete_types_s(s, types):
          """
          Delete the given types from a string
  
          Same as :meth:`delete_types` but does not use the :attr:`params`
          dictionary
  
          Parameters
          ----------
          s: str
              The string of the returns like section
          types: list of str
              The type identifiers to delete
  
          Returns
          -------
          str
              The modified string `s` without the descriptions of `types`
          """
          patt = '(?s)' + '|'.join(
              '(?<=\n)' + s + '\n.+?\n(?=\S+|$)' for s in types)
          return re.sub(patt, '', '\n' + s.strip() + '\n',).strip()