Kaydet (Commit) 70f355d1 authored tarafından Georg Brandl's avatar Georg Brandl

Clarify.

üst 7f54dce9
...@@ -61,8 +61,8 @@ Module Interface ...@@ -61,8 +61,8 @@ Module Interface
Open *file* and return a corresponding stream. If the file cannot be opened, Open *file* and return a corresponding stream. If the file cannot be opened,
an :exc:`IOError` is raised. an :exc:`IOError` is raised.
*file* is either a string or bytes object giving the name (and the path if *file* is either a string or bytes object giving the pathname (absolute or
the file isn't in the current working directory) of the file to be opened 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 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 is given, it is closed when the returned I/O object is closed, unless
*closefd* is set to ``False``.) *closefd* is set to ``False``.)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment