[Python-checkins] r77009 - python/branches/py3k/Modules/_io/_iomodule.c
georg.brandl
python-checkins at python.org
Wed Dec 23 11:30:45 CET 2009
Author: georg.brandl
Date: Wed Dec 23 11:30:45 2009
New Revision: 77009
Log:
#7417: add signature to open() docstring.
Modified:
python/branches/py3k/Modules/_io/_iomodule.c
Modified: python/branches/py3k/Modules/_io/_iomodule.c
==============================================================================
--- python/branches/py3k/Modules/_io/_iomodule.c (original)
+++ python/branches/py3k/Modules/_io/_iomodule.c Wed Dec 23 11:30:45 2009
@@ -176,6 +176,9 @@
* The main open() function
*/
PyDoc_STRVAR(open_doc,
+"open(file, mode='r', buffering=None, encoding=None,\n"
+" errors=None, newline=None, closefd=True) -> file object\n"
+"\n"
"Open file and return a stream. Raise IOError upon failure.\n"
"\n"
"file is either a text or byte string giving the name (and the path\n"
More information about the Python-checkins
mailing list