summaryrefslogtreecommitdiff
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2007-01-05 14:22:17 +0000
committerAndrew M. Kuchling <amk@amk.ca>2007-01-05 14:22:17 +0000
commit882680462c937185702868c2ad3e61aed7f2cae1 (patch)
treee81c084822239d431350d98cb151290af1aca113 /Lib/StringIO.py
parent1f8c634a5308a497918db1fa8a0940da4dbd900d (diff)
downloadcpython-git-882680462c937185702868c2ad3e61aed7f2cae1.tar.gz
[Bug #1622533] Make docstrings raw strings because they contain control characters (\0, \1)
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py2
1 files changed, 1 insertions, 1 deletions
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