summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2009-07-04 02:28:47 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2009-07-04 02:28:47 (GMT)
commitb970b869750ffbd0576153d26e7416e583225f44 (patch)
tree7ba427aefdabc97c459ed0e37c7bfc9e58a8bc0b /Doc
parent05bf01aeae0c917276371a59b40bf9a6df9e78ce (diff)
downloadcpython-b970b869750ffbd0576153d26e7416e583225f44.zip
cpython-b970b869750ffbd0576153d26e7416e583225f44.tar.gz
cpython-b970b869750ffbd0576153d26e7416e583225f44.tar.bz2
Merged revisions 73818 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73818 | gregory.p.smith | 2009-07-03 13:48:31 -0700 (Fri, 03 Jul 2009) | 2 lines Adds the select.PIPE_BUF attribute to expose the system constant. ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/select.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst
index 6dbf16f..bffb9cb 100644
--- a/Doc/library/select.rst
+++ b/Doc/library/select.rst
@@ -94,6 +94,15 @@ The module defines the following:
library, and does not handle file descriptors that don't originate from
WinSock.
+.. attribute:: select.PIPE_BUF
+
+ Files reported as ready for writing by :func:`select`, :func:`poll` or
+ similar interfaces in this module are guaranteed to not block on a write
+ of up to :const:`PIPE_BUF` bytes.
+ This value is guaranteed by POSIX to be at least 512.
+
+ .. versionadded:: 2.7
+
.. _epoll-objects: