mirror of
https://github.com/python/cpython.git
synced 2025-11-13 07:26:31 +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
|
library, and does not handle file descriptors that don't originate from
|
||||||
WinSock.
|
WinSock.
|
||||||
|
|
||||||
.. attribute:: select.PIPE_BUF
|
.. attribute:: PIPE_BUF
|
||||||
|
|
||||||
The minimum number of bytes which can be written without blocking to a pipe
|
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`,
|
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,
|
The :mod:`select` module now exposes a new, constant attribute,
|
||||||
:attr:`~select.PIPE_BUF`, which gives the minimum number of files that are
|
:attr:`~select.PIPE_BUF`, which gives the minimum number of bytes which are
|
||||||
guaranteed to not block on a write by the :func:`~select.select` or
|
guaranteed not to block when :func:`select.select` says a pipe is ready
|
||||||
:func:`~select.poll` functions.
|
for writing.
|
||||||
|
|
||||||
>>> import select
|
>>> import select
|
||||||
>>> select.PIPE_BUF
|
>>> select.PIPE_BUF
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue