From 882680462c937185702868c2ad3e61aed7f2cae1 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 5 Jan 2007 14:22:17 +0000 Subject: [Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1) --- Lib/StringIO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/StringIO.py') diff --git a/Lib/StringIO.py b/Lib/StringIO.py index 1e5f25408d..232009fb93 100644 --- a/Lib/StringIO.py +++ b/Lib/StringIO.py @@ -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 -- cgit v1.2.1