mirror of https://github.com/python/cpython
Fix typo
This commit is contained in:
parent
6487952a46
commit
5d864c847e
|
@ -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
|
||||
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
|
||||
a timeout of ``None`` disables timeouts on socket operations.
|
||||
``s.settimeout(0.0)`` is equivalent to ``s.setblocking(0)``;
|
||||
|
|
Loading…
Reference in New Issue