Doc: Minor adjustment of socket.create_server docs (#26938)

- fix spelling in create_server() docs
- add a line about create_server() in the socket.py docstring
This commit is contained in:
Pavel 2022-05-20 04:18:02 -04:00 committed by GitHub
parent 909868db2a
commit a637c09a60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ socket.getdefaulttimeout() -- get the default timeout value
socket.setdefaulttimeout() -- set the default timeout value
create_connection() -- connects to an address, with an optional timeout and
optional source address.
create_server() -- create a TCP socket and bind it to a specified address.
[*] not available on all platforms!