Rather than leaving the trailing lines un-indented in the source, can you use `textwrap.dedent`?