From: Antoine Pitrou Date: Tue, 25 Jan 2011 17:24:57 +0000 (+0000) Subject: Fix the description of PIPE_BUF X-Git-Tag: v3.2rc2~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfad97b3cad38bde3039169b61c4a28e26631acc;p=python Fix the description of PIPE_BUF --- diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 4804b1eecb..f1fd126d94 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 2bd461e349..420173aba6 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