summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-10-15 20:52:41 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-10-15 20:52:41 (GMT)
commit7648ba83f24aaae08104bf65773ea259b49e70da (patch)
tree49927038f60c6f8ab800548f52273e5909570e62 /Lib
parente20ad358fd678b37e76715f8dfae83bff7751a8b (diff)
downloadcpython-7648ba83f24aaae08104bf65773ea259b49e70da.zip
cpython-7648ba83f24aaae08104bf65773ea259b49e70da.tar.gz
cpython-7648ba83f24aaae08104bf65773ea259b49e70da.tar.bz2
Make the docstring for io.open() a raw string so that the explanation for the
'newline' argument is not a jumbled mess of newlines.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/io.py b/Lib/io.py
index 68ee4df..ce7aee2 100644
--- a/Lib/io.py
+++ b/Lib/io.py
@@ -50,7 +50,7 @@ class BlockingIOError(IOError):
def open(file, mode="r", buffering=None, encoding=None, newline=None):
- """Replacement for the built-in open function.
+ r"""Replacement for the built-in open function.
Args:
file: string giving the name of the file to be opened;