From: Georg Brandl Date: Mon, 19 Jul 2010 06:52:35 +0000 (+0000) Subject: Clarify. X-Git-Tag: v3.2a1~169 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=70f355d13e35867482b65a6a2095abe50b21d7d8;p=thirdparty%2FPython%2Fcpython.git Clarify. --- diff --git a/Doc/library/io.rst b/Doc/library/io.rst index 50e976b0ea10..498cbc8716a2 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -61,8 +61,8 @@ Module Interface Open *file* and return a corresponding stream. If the file cannot be opened, an :exc:`IOError` is raised. - *file* is either a string or bytes object giving the name (and the path if - the file isn't in the current working directory) of the file to be opened or + *file* is either a string or bytes object giving the pathname (absolute or + relative to the current working directory) of the file to be opened or an integer file descriptor of the file to be wrapped. (If a file descriptor is given, it is closed when the returned I/O object is closed, unless *closefd* is set to ``False``.)