mirror of https://github.com/python/cpython.git
PyFile_FromFile() description: make sure the closing brace for the arguments
comes after the arguments are complete.
This commit is contained in:
parent
540e13dd1e
commit
b92dce38e7
|
@ -2169,7 +2169,7 @@ specified in \var{name} with the mode specified in \var{mode}.
|
||||||
\end{cfuncdesc}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{PyObject *}{PyFile_FromFile}{FILE *fp,
|
\begin{cfuncdesc}{PyObject *}{PyFile_FromFile}{FILE *fp,
|
||||||
char *name, char *mode, int (*close})
|
char *name, char *mode, int (*close)}
|
||||||
Creates a new \code{PyFileObject} from the already-open \var{fp}.
|
Creates a new \code{PyFileObject} from the already-open \var{fp}.
|
||||||
The function \var{close} will be called when the file should be
|
The function \var{close} will be called when the file should be
|
||||||
closed.
|
closed.
|
||||||
|
|
|
@ -2169,7 +2169,7 @@ specified in \var{name} with the mode specified in \var{mode}.
|
||||||
\end{cfuncdesc}
|
\end{cfuncdesc}
|
||||||
|
|
||||||
\begin{cfuncdesc}{PyObject *}{PyFile_FromFile}{FILE *fp,
|
\begin{cfuncdesc}{PyObject *}{PyFile_FromFile}{FILE *fp,
|
||||||
char *name, char *mode, int (*close})
|
char *name, char *mode, int (*close)}
|
||||||
Creates a new \code{PyFileObject} from the already-open \var{fp}.
|
Creates a new \code{PyFileObject} from the already-open \var{fp}.
|
||||||
The function \var{close} will be called when the file should be
|
The function \var{close} will be called when the file should be
|
||||||
closed.
|
closed.
|
||||||
|
|
Loading…
Reference in New Issue