Hot #Python take: textwrap.dedent is great, but inspect.cleandoc is better (and it should be in textwrap, not inspect).
https://docs.python.org/3/library/inspect.html#inspect.cleandoc
(Actually not a hot take, it's carefully considered!)
Hot #Python take: textwrap.dedent is great, but inspect.cleandoc is better (and it should be in textwrap, not inspect).
https://docs.python.org/3/library/inspect.html#inspect.cleandoc
(Actually not a hot take, it's carefully considered!)