summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-12-15 10:16:09 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-12-15 10:16:09 (GMT)
commitc2fcf9bb6bfe821bcad28b866d946a621aa993cb (patch)
treeeca6c618b0cca9a20ceeb124a4e9c7af9cb89ea5 /Lib
parentbd311d8e4eba6c8f9a24a068861aed2da88f5d4a (diff)
downloadcpython-c2fcf9bb6bfe821bcad28b866d946a621aa993cb.zip
cpython-c2fcf9bb6bfe821bcad28b866d946a621aa993cb.tar.gz
cpython-c2fcf9bb6bfe821bcad28b866d946a621aa993cb.tar.bz2
Make the module docstring a raw string, so that the backslash in
"read until end of line ('\n') or EOF" will be treated literally. Fixes SF bug #860155.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/StringIO.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 870e97e..6422f76 100644
--- a/Lib/StringIO.py
+++ b/Lib/StringIO.py
@@ -1,4 +1,4 @@
-"""File-like objects that read from or write to a string buffer.
+r"""File-like objects that read from or write to a string buffer.
This implements (nearly) all stdio methods.