mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
#928751, fix typos in socket doc
This commit is contained in:
parent
7a92d74c52
commit
ba813e2089
1 changed files with 3 additions and 3 deletions
|
@ -447,8 +447,8 @@ Bind the socket to \var{address}. The socket must not already be bound.
|
|||
(The format of \var{address} depends on the address family --- see
|
||||
above.) \note{This method has historically accepted a pair
|
||||
of parameters for \constant{AF_INET} addresses instead of only a
|
||||
tuple. This was never intentional and is no longer be available in
|
||||
Python 2.0.}
|
||||
tuple. This was never intentional and is no longer available in
|
||||
Python 2.0 and later.}
|
||||
\end{methoddesc}
|
||||
|
||||
\begin{methoddesc}[socket]{close}{}
|
||||
|
@ -475,7 +475,7 @@ operation succeeded, otherwise the value of the \cdata{errno}
|
|||
variable. This is useful to support, for example, asynchronous connects.
|
||||
\note{This method has historically accepted a pair of
|
||||
parameters for \constant{AF_INET} addresses instead of only a tuple.
|
||||
This was never intentional and is no longer be available in Python
|
||||
This was never intentional and is no longer available in Python
|
||||
2.0 and later.}
|
||||
\end{methoddesc}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue