summaryrefslogtreecommitdiffstats
path: root/Doc/library/io.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-19 06:52:35 (GMT)
committerGeorg Brandl <georg@python.org>2010-07-19 06:52:35 (GMT)
commit70f355d13e35867482b65a6a2095abe50b21d7d8 (patch)
tree29525a7ed636794ea6f8eb3bef98868db3dd48a5 /Doc/library/io.rst
parent7f54dce9bd4a931db85bb55769d5ce2409961246 (diff)
downloadcpython-70f355d13e35867482b65a6a2095abe50b21d7d8.zip
cpython-70f355d13e35867482b65a6a2095abe50b21d7d8.tar.gz
cpython-70f355d13e35867482b65a6a2095abe50b21d7d8.tar.bz2
Clarify.
Diffstat (limited to 'Doc/library/io.rst')
-rw-r--r--Doc/library/io.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/io.rst b/Doc/library/io.rst
index 50e976b..498cbc8 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``.)