[Python-checkins] python/dist/src/Doc/lib libselect.tex,1.20,1.20.6.1
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 29 Apr 2003 06:55:26 -0700
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv17347
Modified Files:
Tag: release22-maint
libselect.tex
Log Message:
- clean up some extra punctuation hidden in indexing markup
- fix a typo and one markup nit
- normalize whitespace
Index: libselect.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libselect.tex,v
retrieving revision 1.20
retrieving revision 1.20.6.1
diff -C2 -d -r1.20 -r1.20.6.1
*** libselect.tex 28 Nov 2001 07:26:15 -0000 1.20
--- libselect.tex 29 Apr 2003 13:55:20 -0000 1.20.6.1
***************
*** 24,31 ****
\begin{funcdesc}{poll}{}
! (Not supported by all operating systems.) Returns a polling object,
which supports registering and unregistering file descriptors, and
! then polling them for I/O events;
! see section~\ref{poll-objects} below for the methods supported by
polling objects.
\end{funcdesc}
--- 24,31 ----
\begin{funcdesc}{poll}{}
! (Not supported by all operating systems.) Returns a polling object,
which supports registering and unregistering file descriptors, and
! then polling them for I/O events;
! see section~\ref{poll-objects} below for the methods supported by
polling objects.
\end{funcdesc}
***************
*** 50,59 ****
returned.
! Amongst the acceptable object types in the lists are Python file
objects (e.g. \code{sys.stdin}, or objects returned by
\function{open()} or \function{os.popen()}), socket objects
! returned by \function{socket.socket()},%
\withsubitem{(in module socket)}{\ttindex{socket()}}
! \withsubitem{(in module os)}{\ttindex{popen()}}.
You may also define a \dfn{wrapper} class yourself, as long as it has
an appropriate \method{fileno()} method (that really returns a file
--- 50,59 ----
returned.
! Among the acceptable object types in the lists are Python file
objects (e.g. \code{sys.stdin}, or objects returned by
\function{open()} or \function{os.popen()}), socket objects
! returned by \function{socket.socket()}.%
\withsubitem{(in module socket)}{\ttindex{socket()}}
! \withsubitem{(in module os)}{\ttindex{popen()}}
You may also define a \dfn{wrapper} class yourself, as long as it has
an appropriate \method{fileno()} method (that really returns a file
***************
*** 103,108 ****
Registering a file descriptor that's already registered is not an
error, and has the same effect as registering the descriptor exactly
! once.
!
\end{methoddesc}
--- 103,107 ----
Registering a file descriptor that's already registered is not an
error, and has the same effect as registering the descriptor exactly
! once.
\end{methoddesc}
***************
*** 120,126 ****
possibly-empty list containing \code{(\var{fd}, \var{event})} 2-tuples
for the descriptors that have events or errors to report.
! \var{fd} is the file descriptor, and \var{event} is a bitmask
with bits set for the reported events for that descriptor
! --- \constant{POLLIN} for waiting input,
\constant{POLLOUT} to indicate that the descriptor can be written to, and
so forth.
--- 119,125 ----
possibly-empty list containing \code{(\var{fd}, \var{event})} 2-tuples
for the descriptors that have events or errors to report.
! \var{fd} is the file descriptor, and \var{event} is a bitmask
with bits set for the reported events for that descriptor
! --- \constant{POLLIN} for waiting input,
\constant{POLLOUT} to indicate that the descriptor can be written to, and
so forth.
***************
*** 129,135 ****
If \var{timeout} is given, it specifies the length of time in
milliseconds which the system will wait for events before returning.
! If \var{timeout} is omitted, negative, or \code{None}, the call will
block until there is an event for this poll object.
\end{methoddesc}
-
-
--- 128,132 ----
If \var{timeout} is given, it specifies the length of time in
milliseconds which the system will wait for events before returning.
! If \var{timeout} is omitted, negative, or \constant{None}, the call will
block until there is an event for this poll object.
\end{methoddesc}