]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix host in address of socket.create_server example. (GH-17706)
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>
Sat, 11 Jan 2020 05:16:30 +0000 (10:46 +0530)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2020 05:16:30 +0000 (10:46 +0530)
commit43682f1e39a3c61f0e8a638b887bcdcbfef766c5
treeb9e2cdc68e96f61d45cad30d04e5d71df8557f05
parentce54519aa09772f4173b8c17410ed77e403f3ebf
Fix host in address of socket.create_server example. (GH-17706)

Host as None in address raises TypeError since it should be string, bytes or bytearray.
Lib/socket.py