dedent¶
- DocstringProcessor.dedent(s, stacklevel=3)[source]¶
Dedent a string and substitute with the
params
attribute.- Parameters
s (str) – string to dedent and insert the sections of the
params
attributestacklevel (int) – The stacklevel for the warning raised in
safe_module()
when encountering an invalid key in the string