Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23a4c79

Browse files
committed
Merge: Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
2 parents 4c668ed + f9c7c36 commit 23a4c79

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

Doc/c-api/sys.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,6 @@ accessible to C code. They all work with the current interpreter thread's
6161
Return the object *name* from the :mod:`sys` module or *NULL* if it does
6262
not exist, without setting an exception.
6363
64-
.. c:function:: FILE *PySys_GetFile(char *name, FILE *def)
65-
66-
Return the :c:type:`FILE*` associated with the object *name* in the
67-
:mod:`sys` module, or *def* if *name* is not in the module or is not associated
68-
with a :c:type:`FILE*`.
69-
7064
.. c:function:: int PySys_SetObject(char *name, PyObject *v)
7165
7266
Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which

Doc/data/refcounts.dat

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,10 +1315,6 @@ PySys_AddWarnOption:char*:s::
13151315
PySys_AddXOption:void:::
13161316
PySys_AddXOption:const wchar_t*:s::
13171317

1318-
PySys_GetFile:FILE*:::
1319-
PySys_GetFile:char*:name::
1320-
PySys_GetFile:FILE*:def::
1321-
13221318
PySys_GetObject:PyObject*::0:
13231319
PySys_GetObject:char*:name::
13241320

0 commit comments

Comments
 (0)