summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 10:03:18 (GMT)
committerAndrew Svetlov <andrew.svetlov@gmail.com>2012-10-31 10:03:18 (GMT)
commitf9c7c3641bc1b2f71806a9aebcb4925ed555db99 (patch)
tree8cc567266843b5b956ad001c02f73866ed7cf6f7
parent796c443f3db6bcc18c012924d376e0bc9aac8c29 (diff)
parent4deb16dd7585582276714cae2d98b55db7fe6568 (diff)
downloadcpython-f9c7c3641bc1b2f71806a9aebcb4925ed555db99.zip
cpython-f9c7c3641bc1b2f71806a9aebcb4925ed555db99.tar.gz
cpython-f9c7c3641bc1b2f71806a9aebcb4925ed555db99.tar.bz2
Merge: Remove already dropped function PySys_GetFile from documentation.
Thanks to Daniel Müllner from docs@
-rw-r--r--Doc/c-api/sys.rst6
-rw-r--r--Doc/data/refcounts.dat4
2 files changed, 0 insertions, 10 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
index 252bd1a..9760dca 100644
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -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
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)
Set *name* in the :mod:`sys` module to *v* unless *v* is *NULL*, in which
diff --git a/Doc/data/refcounts.dat b/Doc/data/refcounts.dat
index a1004ad..fac89af 100644
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -1315,10 +1315,6 @@ PySys_AddWarnOption:char*:s::
PySys_AddXOption:void:::
PySys_AddXOption:const wchar_t*:s::
-PySys_GetFile:FILE*:::
-PySys_GetFile:char*:name::
-PySys_GetFile:FILE*:def::
-
PySys_GetObject:PyObject*::0:
PySys_GetObject:char*:name::