I'm struggling to read code in places due to the code fragment strings which have no indentation. The standard library has textwrap.dedent() which could be done inside the parse methods, and then the strings could be indented in line with the code, e.g,
I'm struggling to read code in places due to the code fragment strings which have no indentation. The standard library has
textwrap.dedent()
which could be done inside theparse
methods, and then the strings could be indented in line with the code, e.g,Could instead be:
And the flow of the code would not be so interrupted.