summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2007-01-05 14:22:17 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2007-01-05 14:22:17 (GMT)
commit882680462c937185702868c2ad3e61aed7f2cae1 (patch)
treee81c084822239d431350d98cb151290af1aca113 /Lib/difflib.py
parent1f8c634a5308a497918db1fa8a0940da4dbd900d (diff)
downloadcpython-882680462c937185702868c2ad3e61aed7f2cae1.zip
cpython-882680462c937185702868c2ad3e61aed7f2cae1.tar.gz
cpython-882680462c937185702868c2ad3e61aed7f2cae1.tar.bz2
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py
index 3e28b18..d1c2931 100644
--- a/Lib/difflib.py
+++ b/Lib/difflib.py
@@ -1311,7 +1311,7 @@ def ndiff(a, b, linejunk=None, charjunk=IS_CHARACTER_JUNK):
def _mdiff(fromlines, tolines, context=None, linejunk=None,
charjunk=IS_CHARACTER_JUNK):
- """Returns generator yielding marked up from/to side by side differences.
+ r"""Returns generator yielding marked up from/to side by side differences.
Arguments:
fromlines -- list of text lines to compared to tolines