mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix the description of PIPE_BUF
This commit is contained in:
parent
da7be3e7b7
commit
cfad97b3ca
2 changed files with 4 additions and 4 deletions
|
@ -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`,
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue