diff options
| -rw-r--r-- | Doc/library/select.rst | 2 | ||||
| -rw-r--r-- | Doc/whatsnew/3.2.rst | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 4804b1e..f1fd126 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -94,7 +94,7 @@ The module defines the following: library, and does not handle file descriptors that don't originate from WinSock. -.. attribute:: select.PIPE_BUF +.. attribute:: PIPE_BUF 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`, diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 2bd461e..420173a 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -1263,9 +1263,9 @@ select ------ The :mod:`select` module now exposes a new, constant attribute, -:attr:`~select.PIPE_BUF`, which gives the minimum number of files that are -guaranteed to not block on a write by the :func:`~select.select` or -:func:`~select.poll` functions. +:attr:`~select.PIPE_BUF`, which gives the minimum number of bytes which are +guaranteed not to block when :func:`select.select` says a pipe is ready +for writing. >>> import select >>> select.PIPE_BUF |
