@@ -149,7 +149,7 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
149149 contains a good example of its use.
150150
151151
152- ..function ::context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\n')
152+ ..function ::context_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\\ n')
153153
154154 Compare *a * and *b * (lists of strings); return a delta (a:term: `generator `
155155 generating the delta lines) in context diff format.
@@ -279,7 +279,7 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
279279emu
280280
281281
282- ..function ::unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\n')
282+ ..function ::unified_diff(a, b, fromfile='', tofile='', fromfiledate='', tofiledate='', n=3, lineterm='\\ n')
283283
284284 Compare *a * and *b * (lists of strings); return a delta (a:term: `generator `
285285 generating the delta lines) in unified diff format.
@@ -321,7 +321,7 @@ diffs. For comparing directories and files, see also, the :mod:`filecmp` module.
321321
322322 See:ref: `difflib-interface ` for a more detailed example.
323323
324- ..function ::diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n=3, lineterm=b'\n')
324+ ..function ::diff_bytes(dfunc, a, b, fromfile=b'', tofile=b'', fromfiledate=b'', tofiledate=b'', n=3, lineterm=b'\\ n')
325325
326326 Compare *a * and *b * (lists of bytes objects) using *dfunc *; yield a
327327 sequence of delta lines (also bytes) in the format returned by *dfunc *.