[Python-3000-checkins] r58486 - python/branches/py3k/Lib/io.py
brett.cannon
python-3000-checkins at python.org
Mon Oct 15 22:52:42 CEST 2007
Author: brett.cannon
Date: Mon Oct 15 22:52:41 2007
New Revision: 58486
Modified:
python/branches/py3k/Lib/io.py
Log:
Make the docstring for io.open() a raw string so that the explanation for the
'newline' argument is not a jumbled mess of newlines.
Modified: python/branches/py3k/Lib/io.py
==============================================================================
--- python/branches/py3k/Lib/io.py (original)
+++ python/branches/py3k/Lib/io.py Mon Oct 15 22:52:41 2007
@@ -50,7 +50,7 @@
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;
More information about the Python-3000-checkins
mailing list