mirror of
https://github.com/python/cpython.git
synced 2025-09-29 11:45:57 +00:00
Fix typo
This commit is contained in:
parent
6487952a46
commit
5d864c847e
1 changed files with 1 additions and 1 deletions
|
@ -722,7 +722,7 @@ correspond to Unix system calls applicable to sockets.
|
||||||
|
|
||||||
Set a timeout on blocking socket operations. The *value* argument can be a
|
Set a timeout on blocking socket operations. The *value* argument can be a
|
||||||
nonnegative float expressing seconds, or ``None``. If a float is given,
|
nonnegative float expressing seconds, or ``None``. If a float is given,
|
||||||
subsequent socket operations will raise an :exc:`timeout` exception if the
|
subsequent socket operations will raise a :exc:`timeout` exception if the
|
||||||
timeout period *value* has elapsed before the operation has completed. Setting
|
timeout period *value* has elapsed before the operation has completed. Setting
|
||||||
a timeout of ``None`` disables timeouts on socket operations.
|
a timeout of ``None`` disables timeouts on socket operations.
|
||||||
``s.settimeout(0.0)`` is equivalent to ``s.setblocking(0)``;
|
``s.settimeout(0.0)`` is equivalent to ``s.setblocking(0)``;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue