diff options
author | Georg Brandl <georg@python.org> | 2007-11-01 20:55:43 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-11-01 20:55:43 (GMT) |
commit | b0e86889660130d1033c4d57ef1c3cb28c6445c0 (patch) | |
tree | 183f52a46f93b1c8074b3bf276eac4418ecee7d0 /Doc | |
parent | 9afde1c0deae94dac9cbfa88326aeb7a8a98fe6f (diff) | |
download | cpython-b0e86889660130d1033c4d57ef1c3cb28c6445c0.zip cpython-b0e86889660130d1033c4d57ef1c3cb28c6445c0.tar.gz cpython-b0e86889660130d1033c4d57ef1c3cb28c6445c0.tar.bz2 |
Remove duplicate entry for PyObject_AsFileDescriptor. (Really, this time.)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/abstract.rst | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Doc/c-api/abstract.rst b/Doc/c-api/abstract.rst index b3707fb..6953775 100644 --- a/Doc/c-api/abstract.rst +++ b/Doc/c-api/abstract.rst @@ -325,14 +325,6 @@ is considered sufficient for this determination. equivalent of the Python statement ``del o[key]``. -.. cfunction:: int PyObject_AsFileDescriptor(PyObject *o) - - Derives a file descriptor from a Python object. If the object is an integer or - long integer, its value is returned. If not, the object's :meth:`fileno` method - is called if it exists; the method must return an integer or long integer, which - is returned as the file descriptor value. Returns ``-1`` on failure. - - .. cfunction:: PyObject* PyObject_Dir(PyObject *o) This is equivalent to the Python expression ``dir(o)``, returning a (possibly |