]> granicus.if.org Git - python/commitdiff
Clarify.
authorGeorg Brandl <georg@python.org>
Mon, 19 Jul 2010 06:52:35 +0000 (06:52 +0000)
committerGeorg Brandl <georg@python.org>
Mon, 19 Jul 2010 06:52:35 +0000 (06:52 +0000)
Doc/library/io.rst

index 50e976b0ea101251898bd899d79766e5225eca6b..498cbc8716a20a2d12a1fa8fe7fb229e8c3ff952 100644 (file)
@@ -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``.)