summaryrefslogtreecommitdiff
path: root/Doc/library/select.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-15 11:11:28 +0000
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-15 11:11:28 +0000
commit11cb961b38550443d287b2b55174e504c2309af2 (patch)
tree51b2972800e593dde1b5f5154b9b044058a350d7 /Doc/library/select.rst
parent6a11a98b7c8f576d7663182cbd09123eb108a928 (diff)
downloadcpython-git-11cb961b38550443d287b2b55174e504c2309af2.tar.gz
Add cross-references to the glossary entry for file objects.
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r--Doc/library/select.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index 5418093ac4..5e848b0339 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -78,11 +78,12 @@ The module defines the following:
single: socket() (in module socket)
single: popen() (in module os)
- Among the acceptable object types in the sequences are Python file objects (e.g.
- ``sys.stdin``, or objects returned by :func:`open` or :func:`os.popen`), socket
- objects returned by :func:`socket.socket`. You may also define a :dfn:`wrapper`
- class yourself, as long as it has an appropriate :meth:`fileno` method (that
- really returns a file descriptor, not just a random integer).
+ Among the acceptable object types in the sequences are Python :term:`file
+ objects <file object>` (e.g. ``sys.stdin``, or objects returned by
+ :func:`open` or :func:`os.popen`), socket objects returned by
+ :func:`socket.socket`. You may also define a :dfn:`wrapper` class yourself,
+ as long as it has an appropriate :meth:`fileno` method (that really returns
+ a file descriptor, not just a random integer).
.. note::