mirror of https://github.com/python/cpython
Merge: Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
This commit is contained in:
commit
23a4c790b4
|
@ -61,12 +61,6 @@ accessible to C code. They all work with the current interpreter thread's
|
||||||
Return the object *name* from the :mod:`sys` module or *NULL* if it does
|
Return the object *name* from the :mod:`sys` module or *NULL* if it does
|
||||||
not exist, without setting an exception.
|
not exist, without setting an exception.
|
||||||
|
|
||||||
.. c:function:: FILE *PySys_GetFile(char *name, FILE *def)
|
|
||||||
|
|
||||||
Return the :c:type:`FILE*` associated with the object *name* in the
|
|
||||||
:mod:`sys` module, or *def* if *name* is not in the module or is not associated
|
|
||||||
with a :c:type:`FILE*`.
|
|
||||||
|
|
||||||
.. c:function:: int PySys_SetObject(char *name, PyObject *v)
|
.. c:function:: int PySys_SetObject(char *name, PyObject *v)
|
||||||
|
|
||||||
Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which
|
Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which
|
||||||
|
|
|
@ -1315,10 +1315,6 @@ PySys_AddWarnOption:char*:s::
|
||||||
PySys_AddXOption:void:::
|
PySys_AddXOption:void:::
|
||||||
PySys_AddXOption:const wchar_t*:s::
|
PySys_AddXOption:const wchar_t*:s::
|
||||||
|
|
||||||
PySys_GetFile:FILE*:::
|
|
||||||
PySys_GetFile:char*:name::
|
|
||||||
PySys_GetFile:FILE*:def::
|
|
||||||
|
|
||||||
PySys_GetObject:PyObject*::0:
|
PySys_GetObject:PyObject*::0:
|
||||||
PySys_GetObject:char*:name::
|
PySys_GetObject:char*:name::
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue