[Python-checkins] r64068 - python/trunk/Doc/library/asyncore.rst
benjamin.peterson
python-checkins at python.org
Tue Jun 10 15:37:13 CEST 2008
Author: benjamin.peterson
Date: Tue Jun 10 15:37:13 2008
New Revision: 64068
Log:
fix markup
Modified:
python/trunk/Doc/library/asyncore.rst
Modified: python/trunk/Doc/library/asyncore.rst
==============================================================================
--- python/trunk/Doc/library/asyncore.rst (original)
+++ python/trunk/Doc/library/asyncore.rst Tue Jun 10 15:37:13 2008
@@ -223,19 +223,20 @@
garbage-collected.
.. 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
+ :class:`file_wrapper` constructor. Availability: UNIX
+
+.. class:: file_wrapper()
-.. 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
+ socket for use by the file_dispatcher class. Availability: UNIX
+
.. _asyncore-example:
More information about the Python-checkins
mailing list