diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2009-07-03 20:48:31 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2009-07-03 20:48:31 (GMT) |
commit | 9d36fd2acbe618796ecfcb1dd6cb04e9d0f44c8f (patch) | |
tree | 0cde3464e418323eae7aa540fa7e7b049c8bed5e /Doc | |
parent | 9ad7bbc6370e370b3da7c60cc1ca74774d11957c (diff) | |
download | cpython-9d36fd2acbe618796ecfcb1dd6cb04e9d0f44c8f.zip cpython-9d36fd2acbe618796ecfcb1dd6cb04e9d0f44c8f.tar.gz cpython-9d36fd2acbe618796ecfcb1dd6cb04e9d0f44c8f.tar.bz2 |
Adds the select.PIPE_BUF attribute to expose the system constant.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/select.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/library/select.rst b/Doc/library/select.rst index 351ecfa..469fbac 100644 --- a/Doc/library/select.rst +++ b/Doc/library/select.rst @@ -100,6 +100,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: |