diff options
author | Georg Brandl <georg@python.org> | 2007-10-21 10:46:24 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-10-21 10:46:24 (GMT) |
commit | bb75e4e5d243a32cf31b91543b06b829c63e2c70 (patch) | |
tree | 85f80b2b837d834ea8f877085979ec93d03e9833 /Doc/c-api/abstract.rst | |
parent | 5e52db035d4fbce88c5a1a9820edca406fbf5f25 (diff) | |
download | cpython-bb75e4e5d243a32cf31b91543b06b829c63e2c70.zip cpython-bb75e4e5d243a32cf31b91543b06b829c63e2c70.tar.gz cpython-bb75e4e5d243a32cf31b91543b06b829c63e2c70.tar.bz2 |
Unify "file-descriptor" to "file descriptor".
Diffstat (limited to 'Doc/c-api/abstract.rst')
-rw-r--r-- | Doc/c-api/abstract.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/abstract.rst b/Doc/c-api/abstract.rst index 9a53987..5ea8ace 100644 --- a/Doc/c-api/abstract.rst +++ b/Doc/c-api/abstract.rst @@ -351,7 +351,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 + 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. |