mirror of
https://github.com/python/cpython.git
synced 2024-11-28 20:33:54 +08:00
Fix SF bug #697256, PyMarshal_WriteShortToFile() documented, but not implemented
Remove prototype and doc. Backport candidate.
This commit is contained in:
parent
bd836dfba3
commit
1930949a8a
@ -289,12 +289,6 @@ Numeric values are stored with the least significant byte first.
|
||||
regardless of the size of the native \ctype{long} type.
|
||||
\end{cfuncdesc}
|
||||
|
||||
\begin{cfuncdesc}{void}{PyMarshal_WriteShortToFile}{short value, FILE *file}
|
||||
Marshal a \ctype{short} integer, \var{value}, to \var{file}. This
|
||||
will only write the least-significant 16 bits of \var{value};
|
||||
regardless of the size of the native \ctype{short} type.
|
||||
\end{cfuncdesc}
|
||||
|
||||
\begin{cfuncdesc}{void}{PyMarshal_WriteObjectToFile}{PyObject *value,
|
||||
FILE *file}
|
||||
Marshal a Python object, \var{value}, to \var{file}.
|
||||
|
@ -8,7 +8,6 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *);
|
||||
PyAPI_FUNC(void) PyMarshal_WriteShortToFile(int, FILE *);
|
||||
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *);
|
||||
PyAPI_FUNC(PyObject *) PyMarshal_WriteObjectToString(PyObject *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user