dedent#

Docorator.dedent(s, stacklevel=3)#

Dedent a string and substitute with the params attribute.

Parameters:
  • s (str) – string to dedent and insert the sections of the params attribute

  • stacklevel (int) – The stacklevel for the warning raised in safe_module() when encountering an invalid key in the string