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;
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to