Skip to content

Commit 706166b

Browse files
committed
Make the docstring for io.open() a raw string so that the explanation for the
'newline' argument is not a jumbled mess of newlines.
1 parent c7a133b commit 706166b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, errno, strerror, characters_written=0):
5050

5151

5252
def open(file, mode="r", buffering=None, encoding=None, newline=None):
53-
"""Replacement for the built-in open function.
53+
r"""Replacement for the built-in open function.
5454
5555
Args:
5656
file: string giving the name of the file to be opened;

0 commit comments

Comments
 (0)