[issue32509] doctest syntax ambiguity between continuation line and ellipsis

R. David Murray report at bugs.python.org
Sat Jan 6 23:11:16 EST 2018


R. David Murray <rdmurray at bitdance.com> added the comment:

What happens if you print a placeholder line first, before your test output?  I'm not sure it will work, I seem to remember something about an ellipses starting a line just not being supported, but it was a long time ago...

So, that doesn't work, maybe do something like res = ['x' + l for l in res] so that you can use x...?

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32509>
_______________________________________


More information about the Python-bugs-list mailing list