summaryrefslogtreecommitdiffstats
path: root/Lib/socket.py
diff options
context:
space:
mode:
authorPavel <69010336+pavel-lexyr@users.noreply.github.com>2022-05-20 08:18:02 (GMT)
committerGitHub <noreply@github.com>2022-05-20 08:18:02 (GMT)
commita637c09a608cd779c9a7c3e60b886d9f520c58a6 (patch)
tree3b94af5962aa4bcea8cf48d6bcf1c2a077246354 /Lib/socket.py
parent909868db2aeff0f64b719ae94c840e001b898a7e (diff)
downloadcpython-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-xLib/socket.py1
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!