Commit 88268046 authored by Andrew M. Kuchling's avatar Andrew M. Kuchling

[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)

parent 1f8c634a
......@@ -137,7 +137,7 @@ class StringIO:
return r
def readline(self, length=None):
"""Read one entire line from the file.
r"""Read one entire line from the file.
A trailing newline character is kept in the string (but may be absent
when a file ends with an incomplete line). If the size argument is
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment