mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Make the docstring for io.open() a raw string so that the explanation for the
'newline' argument is not a jumbled mess of newlines.
This commit is contained in:
parent
e20ad358fd
commit
7648ba83f2
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class BlockingIOError(IOError):
|
||||||
|
|
||||||
|
|
||||||
def open(file, mode="r", buffering=None, encoding=None, newline=None):
|
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:
|
Args:
|
||||||
file: string giving the name of the file to be opened;
|
file: string giving the name of the file to be opened;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue