From: Brett Cannon Date: Mon, 15 Oct 2007 20:52:41 +0000 (+0000) Subject: Make the docstring for io.open() a raw string so that the explanation for the X-Git-Tag: v3.0a2~312 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7648ba83f24aaae08104bf65773ea259b49e70da;p=thirdparty%2FPython%2Fcpython.git Make the docstring for io.open() a raw string so that the explanation for the 'newline' argument is not a jumbled mess of newlines. --- diff --git a/Lib/io.py b/Lib/io.py index 68ee4df33811..ce7aee2eb883 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;