diff options
author | Georg Brandl <georg@python.org> | 2007-10-23 18:26:17 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-23 18:26:17 (GMT) |
commit | 083bea49a8b74a5f758c6641c299f0cc8c114616 (patch) | |
tree | a89b9c539cda872e733149ea48e610b974bd3c32 /Doc/c-api/abstract.rst | |
parent | b6538a86bae16b47b55af1e6cc2c8cf76c30f7e1 (diff) | |
download | cpython-083bea49a8b74a5f758c6641c299f0cc8c114616.zip cpython-083bea49a8b74a5f758c6641c299f0cc8c114616.tar.gz cpython-083bea49a8b74a5f758c6641c299f0cc8c114616.tar.bz2 |
Remove duplicate entry for PyObject_AsFileDescriptor.
Diffstat (limited to 'Doc/c-api/abstract.rst')
-rw-r--r-- | Doc/c-api/abstract.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/c-api/abstract.rst b/Doc/c-api/abstract.rst index 515150d..4a78650 100644 --- a/Doc/c-api/abstract.rst +++ b/Doc/c-api/abstract.rst @@ -327,10 +327,7 @@ is considered sufficient for this determination. .. 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. + Derives a file-descriptor from a Python object. .. cfunction:: PyObject* PyObject_Dir(PyObject *o) |