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

Skip to content

Commit 4deb16d

Browse files
committed
Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
1 parent 6a5c7c3 commit 4deb16d

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
@@ -1310,10 +1310,6 @@ PySys_AddWarnOption:char*:s::
13101310
PySys_AddXOption:void:::
13111311
PySys_AddXOption:const wchar_t*:s::
13121312

1313-
PySys_GetFile:FILE*:::
1314-
PySys_GetFile:char*:name::
1315-
PySys_GetFile:FILE*:def::
1316-
13171313
PySys_GetObject:PyObject*::0:
13181314
PySys_GetObject:char*:name::
13191315

0 commit comments

Comments
 (0)