Kaydet (Commit) cfad97b3 authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Fix the description of PIPE_BUF

üst da7be3e7
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment