]> granicus.if.org Git - python/commitdiff
Fix the description of PIPE_BUF
authorAntoine Pitrou <solipsis@pitrou.net>
Tue, 25 Jan 2011 17:24:57 +0000 (17:24 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Tue, 25 Jan 2011 17:24:57 +0000 (17:24 +0000)
Doc/library/select.rst
Doc/whatsnew/3.2.rst

index 4804b1eecba09c5ecf11fb64987b797505a8bee5..f1fd126d94c336dc1360a986a391fcaa807f1a96 100644 (file)
@@ -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`,
index 2bd461e349cad862b8725e8895273b8918bb2a67..420173aba63817a7fc51d053b2442bdb99591ced 100644 (file)
@@ -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