[Python-checkins] cpython (merge 3.2 -> 3.3): Merge: Remove already dropped function PySys_GetFile from documentation.

andrew.svetlov python-checkins at python.org
Wed Oct 31 11:04:01 CET 2012


http://hg.python.org/cpython/rev/b6f302dfc5eb
changeset:   80087:b6f302dfc5eb
branch:      3.3
parent:      80084:6925c66fd775
parent:      80086:deac156c4dd4
user:        Andrew Svetlov <andrew.svetlov at gmail.com>
date:        Wed Oct 31 12:03:18 2012 +0200
summary:
  Merge: Remove already dropped function PySys_GetFile from documentation.

Thanks to Daniel Müllner from docs@

files:
  Doc/c-api/sys.rst      |  6 ------
  Doc/data/refcounts.dat |  4 ----
  2 files changed, 0 insertions(+), 10 deletions(-)


diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -61,12 +61,6 @@
    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
--- a/Doc/data/refcounts.dat
+++ b/Doc/data/refcounts.dat
@@ -1315,10 +1315,6 @@
 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::
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list