diff options
Diffstat (limited to 'Doc/library/asyncore.rst')
-rw-r--r-- | Doc/library/asyncore.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Doc/library/asyncore.rst b/Doc/library/asyncore.rst index 11d36163e4..a86518ebff 100644 --- a/Doc/library/asyncore.rst +++ b/Doc/library/asyncore.rst @@ -273,14 +273,18 @@ any that have been added to the map during asynchronous service) is closed. with an optional map argument and wraps it for use with the :c:func:`poll` or :c:func:`loop` functions. If provided a file object or anything with a :c:func:`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() 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. + socket for use by the :class:`file_dispatcher` class. + + .. availability:: Unix. .. _asyncore-example-1: |