commit | 3b015c46a5f12322839512d54e15f51f5e10d3e4 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Fri Jan 05 14:24:36 2007 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Fri Jan 05 14:24:36 2007 +0000 |
tree | 32c497f598acb712e681a91b53b166b1cf6c826f | |
parent | a6e0f502ea99545385264fafb73c4134712c35be [diff] [blame] |
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)
diff --git a/Lib/StringIO.py b/Lib/StringIO.py index 1e5f254..232009f 100644 --- a/Lib/StringIO.py +++ b/Lib/StringIO.py
@@ -137,7 +137,7 @@ 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