Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da7be3e

Browse files
committed
Fix the doc for PIPE_BUF
1 parent 902f320 commit da7be3e

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/library/select.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ The module defines the following:
9696

9797
.. attribute:: select.PIPE_BUF
9898

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

104106
.. versionadded:: 3.2

0 commit comments

Comments
 (0)