]> granicus.if.org Git - python/commitdiff
Remove already dropped function PySys_GetFile from documentation.
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 31 Oct 2012 10:02:56 +0000 (12:02 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Wed, 31 Oct 2012 10:02:56 +0000 (12:02 +0200)
Thanks to Daniel Müllner from docs@

Doc/c-api/sys.rst
Doc/data/refcounts.dat

index 252bd1ad0604126a3b8540b8e379c4797ded7fd0..9760dca2df1e6149910f1a7f878ff34b8495cf05 100644 (file)
@@ -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
index c7d7bd140af2942b18d881a84004d6e71f562446..b5dde333647abc13740d0ac3130c8f46b8f8e075 100644 (file)
@@ -1310,10 +1310,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::