Skip to main content
4 events
when toggle format what by license comment
Mar 21, 2016 at 21:36 comment added Tyler Crompton The problem is that OP is using the line continuation character in a string. Therefore, they aren't considered new lines and therefore aren't subjected to the whitespace ignorance rule.
Mar 19, 2016 at 7:48 comment added Tasdik Rahman Agreed but isn't there anything which looks pleasing to the eyes?
Mar 19, 2016 at 6:44 comment added Kevin The standard interpretation of docstrings is to ignore leading whitespace in this fashion. I'm rather surprised that doctest doesn't do that.
Mar 19, 2016 at 5:15 history answered Tyler Crompton CC BY-SA 3.0