mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
parent
74bb7f03b1
commit
fcadf6bdaf
1 changed files with 3 additions and 1 deletions
|
|
@ -352,7 +352,9 @@ class C:
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{file}{filename\optional{, mode\optional{, bufsize}}}
|
\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
|
The first two arguments are the same as for \code{stdio}'s
|
||||||
\cfunction{fopen()}: \var{filename} is the file name to be opened,
|
\cfunction{fopen()}: \var{filename} is the file name to be opened,
|
||||||
\var{mode} indicates how the file is to be opened: \code{'r'} for
|
\var{mode} indicates how the file is to be opened: \code{'r'} for
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue