diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-25 16:28:44 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2011-01-25 16:28:44 (GMT) |
commit | da7be3e7b760d604a84c87c64d8eb5077e844dc7 (patch) | |
tree | 3f1c11f800c0fd2bd5f9288b16f9f92758047e80 /Doc/library/select.rst | |
parent | 902f320232daaebbf80c7de6eeafcae3957db5d5 (diff) | |
download | cpython-da7be3e7b760d604a84c87c64d8eb5077e844dc7.zip cpython-da7be3e7b760d604a84c87c64d8eb5077e844dc7.tar.gz cpython-da7be3e7b760d604a84c87c64d8eb5077e844dc7.tar.bz2 |
Fix the doc for PIPE_BUF
Diffstat (limited to 'Doc/library/select.rst')
-rw-r--r-- | Doc/library/select.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 6730910..4804b1e 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -96,9 +96,11 @@ The module defines the following: .. attribute:: select.PIPE_BUF - Files reported as ready for writing by :func:`select`, :func:`poll` or - similar interfaces in this module are guaranteed to not block on a write - of up to :const:`PIPE_BUF` bytes. + The minimum number of bytes which can be written without blocking to a pipe + when the pipe has been reported as ready for writing by :func:`select`, + :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. .. versionadded:: 3.2 |