[docs] [issue29968] Document that no characters are allowed to proceed \ in explicit line joining

Martin Panter report at bugs.python.org
Mon Apr 3 22:32:59 EDT 2017


Martin Panter added the comment:

I think he means make something like the following legal, where dots (.) indicate space characters:

a.=.\.
....b

At the moment it is a SyntaxError:

>>> a = \ 
  File "<stdin>", line 1
    a = \ 
         ^
SyntaxError: unexpected character after line continuation character

I don’t think it is worthwhile changing that.

----------
nosy: +martin.panter

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29968>
_______________________________________


More information about the docs mailing list