diff options
author | Pavel <69010336+pavel-lexyr@users.noreply.github.com> | 2022-05-20 08:18:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-20 08:18:02 (GMT) |
commit | a637c09a608cd779c9a7c3e60b886d9f520c58a6 (patch) | |
tree | 3b94af5962aa4bcea8cf48d6bcf1c2a077246354 /Lib/socket.py | |
parent | 909868db2aeff0f64b719ae94c840e001b898a7e (diff) | |
download | cpython-a637c09a608cd779c9a7c3e60b886d9f520c58a6.zip cpython-a637c09a608cd779c9a7c3e60b886d9f520c58a6.tar.gz cpython-a637c09a608cd779c9a7c3e60b886d9f520c58a6.tar.bz2 |
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
Diffstat (limited to 'Lib/socket.py')
-rwxr-xr-x | Lib/socket.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/socket.py b/Lib/socket.py index e08fb62..bfca763 100755 --- a/Lib/socket.py +++ b/Lib/socket.py @@ -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! |