From cfad97b3cad38bde3039169b61c4a28e26631acc Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Tue, 25 Jan 2011 17:24:57 +0000 Subject: Fix the description of PIPE_BUF --- Doc/library/select.rst | 2 +- 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 -- cgit v0.12