Fix the doc for PIPE_BUF

This commit is contained in:
Antoine Pitrou 2011-01-25 16:28:44 +00:00
parent 902f320232
commit da7be3e7b7
1 changed files with 5 additions and 3 deletions

View File

@ -96,9 +96,11 @@ The module defines the following:
.. attribute:: select.PIPE_BUF .. attribute:: select.PIPE_BUF
Files reported as ready for writing by :func:`select`, :func:`poll` or The minimum number of bytes which can be written without blocking to a pipe
similar interfaces in this module are guaranteed to not block on a write when the pipe has been reported as ready for writing by :func:`select`,
of up to :const:`PIPE_BUF` bytes. :func:`poll` or another interface in this module. This doesn't apply
to other kind of file-like objects such as sockets.
This value is guaranteed by POSIX to be at least 512. Availability: Unix. This value is guaranteed by POSIX to be at least 512. Availability: Unix.
.. versionadded:: 3.2 .. versionadded:: 3.2