Skip to content

Commit 517e440

Browse files
committed
Improve doc formatting
1 parent 1b66519 commit 517e440

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

Doc/library/difflib.rst

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -348,10 +348,13 @@ Diff generation
348348
line num -- integer or None (to indicate a context separation)
349349
line text -- original line text with following markers inserted:
350350

351-
'\0+' -- marks start of added text
352-
'\0-' -- marks start of deleted text
353-
'\0^' -- marks start of changed text
354-
'\1' -- marks end of added/deleted/changed text
351+
``'\0+'`` -- marks start of added text
352+
353+
``'\0-'`` -- marks start of deleted text
354+
355+
``'\0^'`` -- marks start of changed text
356+
357+
``'\1'`` -- marks end of added/deleted/changed text
355358

356359
boolean flag -- None indicates context separation, True indicates
357360
either "from" or "to" line contains a change, otherwise False.

0 commit comments

Comments
 (0)