From 7648ba83f24aaae08104bf65773ea259b49e70da Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 15 Oct 2007 20:52:41 +0000 Subject: Make the docstring for io.open() a raw string so that the explanation for the 'newline' argument is not a jumbled mess of newlines. --- Lib/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12