mirror of https://github.com/python/cpython
Minor clarification, saying that blocking means no timeout (from bug #882297)
This commit is contained in:
parent
4732c6e164
commit
3ff9e55890
|
@ -548,7 +548,7 @@ are described in \ref{bltin-file-objects}, ``File Objects.'')
|
||||||
The file object references a \cfunction{dup()}ped version of the
|
The file object references a \cfunction{dup()}ped version of the
|
||||||
socket file descriptor, so the file object and socket object may be
|
socket file descriptor, so the file object and socket object may be
|
||||||
closed or garbage-collected independently.
|
closed or garbage-collected independently.
|
||||||
The socket must be in blocking mode.
|
The socket must be in blocking mode (it can not have a timeout).
|
||||||
\index{I/O control!buffering}The optional \var{mode}
|
\index{I/O control!buffering}The optional \var{mode}
|
||||||
and \var{bufsize} arguments are interpreted the same way as by the
|
and \var{bufsize} arguments are interpreted the same way as by the
|
||||||
built-in \function{file()} function; see ``Built-in Functions''
|
built-in \function{file()} function; see ``Built-in Functions''
|
||||||
|
|
Loading…
Reference in New Issue