diff options
author | Georg Brandl <georg@python.org> | 2009-12-23 10:30:45 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-12-23 10:30:45 (GMT) |
commit | 5e8f6d17e9d63bf2e53b4e51808d1cc209a6054c (patch) | |
tree | 361cbd978afb553a0b7a15cc3a22c280fb7a4606 /Modules | |
parent | e5692cdaaee34fee9ce5f1eef0339c81e95e2602 (diff) | |
download | cpython-5e8f6d17e9d63bf2e53b4e51808d1cc209a6054c.zip cpython-5e8f6d17e9d63bf2e53b4e51808d1cc209a6054c.tar.gz cpython-5e8f6d17e9d63bf2e53b4e51808d1cc209a6054c.tar.bz2 |
#7417: add signature to open() docstring.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_io/_iomodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_io/_iomodule.c b/Modules/_io/_iomodule.c index 14a4356..e20a2f6 100644 --- a/Modules/_io/_iomodule.c +++ b/Modules/_io/_iomodule.c @@ -176,6 +176,9 @@ PyObject *PyExc_BlockingIOError = (PyObject *)&_PyExc_BlockingIOError; * 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" |