julianf...@apache.org wrote on Thu, 28 Jun 2018 17:25 +0000:
> +    unidiff_patch += ['\ No newline at end of property\n']

The sequence <backslash><space> will be a SyntaxError in a future version of 
Python:

[[[
% curl https://docs.python.org/3/reference/lexical_analysis.html#literals | me
    Changed in version 3.6: Unrecognized escape sequences produce a
    DeprecationWarning. In some future version of Python they will be a
    SyntaxError.
]]]

Therefore, The first slash should be doubled.

Cheers,

Daniel

Reply via email to