mirror of
https://github.com/python/cpython
synced 2024-09-06 03:53:34 +00:00
parent
74bb7f03b1
commit
fcadf6bdaf
|
@ -352,7 +352,9 @@ class C:
|
|||
\end{funcdesc}
|
||||
|
||||
\begin{funcdesc}{file}{filename\optional{, mode\optional{, bufsize}}}
|
||||
Return a new file object (described earlier under Built-in Types).
|
||||
Return a new file object (described in
|
||||
section~\ref{bltin-file-objects}, ``\ulink{File
|
||||
Objects}{bltin-file-objects.html}'').
|
||||
The first two arguments are the same as for \code{stdio}'s
|
||||
\cfunction{fopen()}: \var{filename} is the file name to be opened,
|
||||
\var{mode} indicates how the file is to be opened: \code{'r'} for
|
||||
|
|
Loading…
Reference in a new issue