summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-06-10 13:53:24 (GMT)
committerGeorg Brandl <georg@python.org>2008-06-10 13:53:24 (GMT)
commit60977c73c5f82cb1b4b857aec572e4767b1f91e4 (patch)
treefc89c3ffd07d7b1389cb15eb4dad76aaba474b68 /Doc
parent0099e72099675209f3816c54bb1f64908c110b66 (diff)
downloadcpython-60977c73c5f82cb1b4b857aec572e4767b1f91e4.zip
cpython-60977c73c5f82cb1b4b857aec572e4767b1f91e4.tar.gz
cpython-60977c73c5f82cb1b4b857aec572e4767b1f91e4.tar.bz2
more markup fix.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/asyncore.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/Doc/library/asyncore.rst b/Doc/library/asyncore.rst
index c4b3ff5..4736a9c 100644
--- a/Doc/library/asyncore.rst
+++ b/Doc/library/asyncore.rst
@@ -224,18 +224,18 @@ any that have been added to the map during asynchronous service) is closed.
.. class:: file_dispatcher()
- A file_dispatcher takes a file descriptor or file object along with an
- optional map argument and wraps it for use with the :cfunc:`poll`\ or
- :cfunc:`loop`\ functions. If provided a file object or anything with a
- :cfunc:`fileno`\ method, that method will be called and passed to the
- :class:`file_wrapper` constructor. Availability: UNIX
+ A file_dispatcher takes a file descriptor or file object along with an
+ optional map argument and wraps it for use with the :cfunc:`poll` or
+ :cfunc:`loop` functions. If provided a file object or anything with a
+ :cfunc:`fileno` method, that method will be called and passed to the
+ :class:`file_wrapper` constructor. Availability: UNIX.
.. class:: file_wrapper()
- A file_wrapper takes an integer file descriptor and calls os.dup() to
- duplicate the handle so that the original handle may be closed independently
- of the file_wrapper. This class implements sufficient methods to emulate a
- socket for use by the file_dispatcher class. Availability: UNIX
+ A file_wrapper takes an integer file descriptor and calls :func:`os.dup` to
+ duplicate the handle so that the original handle may be closed independently
+ of the file_wrapper. This class implements sufficient methods to emulate a
+ socket for use by the :class:`file_dispatcher` class. Availability: UNIX.
.. _asyncore-example: