bundles / IPython 9.17.0 / IPython / utils / text / dedent
function
IPython.utils.text:dedent
Signature
def dedent(text: str) → strSummary
Equivalent of textwrap.dedent that ignores unindented first line.
Extended Summary
This means it will still dedent strings like: '''foo is a bar '''
For use in wrap_paragraphs.
Aliases
IPython.core.magic.dedent