diff Lib/StringIO.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 8e8d0e03f076
children 6052751a04c8 e8532cc8a14e
line wrap: on
line diff
--- a/Lib/StringIO.py	Fri Jan 05 08:06:43 2007 +0000
+++ b/Lib/StringIO.py	Fri Jan 05 14:22:17 2007 +0000
@@ -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