Mercurial > cpython-lru_cache-weakref
diff Lib/difflib.py @ 40552:7f76996c7bf4 legacy-trunk
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)
| author | Andrew M. Kuchling <amk@amk.ca> |
|---|---|
| date | Fri, 05 Jan 2007 14:22:17 +0000 |
| parents | 62cf6d58bb53 |
| children | f2ba812f7200 |
line wrap: on
line diff
--- a/Lib/difflib.py Fri Jan 05 08:06:43 2007 +0000 +++ b/Lib/difflib.py Fri Jan 05 14:22:17 2007 +0000 @@ -1311,7 +1311,7 @@ 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
