https://github.com/python/cpython/commit/6544bf426335d1bf76d30ed0f1277170ff220122
commit: 6544bf426335d1bf76d30ed0f1277170ff220122
branch: main
author: Ezio Melotti <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-06-05T17:02:10Z
summary:
gh-110631: Fix wrong blocks indentation in difflib.rst (GH-110885)
files:
M Doc/library/difflib.rst
diff --git a/Doc/library/difflib.rst b/Doc/library/difflib.rst
index 8b812c173b5953..25edb40e35a630 100644
--- a/Doc/library/difflib.rst
+++ b/Doc/library/difflib.rst
@@ -724,7 +724,7 @@ Finally, we compare the two:
>>> result = list(d.compare(text1, text2))
-``result`` is a list of strings, so let's pretty-print it:
+``result`` is a list of strings, so let's pretty-print it::
>>> from pprint import pprint
>>> pprint(result)
@@ -739,7 +739,7 @@ Finally, we compare the two:
'? ++++ ^ ^\n',
'+ 5. Flat is better than nested.\n']
-As a single multi-line string it looks like this:
+As a single multi-line string it looks like this::
>>> import sys
>>> sys.stdout.writelines(result)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]