summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2011-01-25 17:24:57 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2011-01-25 17:24:57 (GMT)
commitcfad97b3cad38bde3039169b61c4a28e26631acc (patch)
treef34984e7c81bca9f1ce6bbc826f84fe2e71e19ce
parentda7be3e7b760d604a84c87c64d8eb5077e844dc7 (diff)
downloadcpython-cfad97b3cad38bde3039169b61c4a28e26631acc.zip
cpython-cfad97b3cad38bde3039169b61c4a28e26631acc.tar.gz
cpython-cfad97b3cad38bde3039169b61c4a28e26631acc.tar.bz2
Fix the description of PIPE_BUF
-rw-r--r--Doc/library/select.rst2
-rw-r--r--Doc/whatsnew/3.2.rst6
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