docstrings save the space before it including the indentation for the function. Which is why the first one is not in the error.
>>> s = '''a ... b ... c ... ''' >>> s 'a\n b\nc\n'
Recommended Tutorials: