]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix host in address of socket.create_server example. (GH-17706)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 11 Jan 2020 05:39:01 +0000 (21:39 -0800)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2020 05:39:01 +0000 (21:39 -0800)
commit0f40482fde59ff307569fa5676183dd8432809a8
treebe32ccb7b0d006e840e8c8a752cdcee42c2773eb
parentdf2fb60cf79bf95497cc15a74d657a3a54a53057
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.
(cherry picked from commit 43682f1e39a3c61f0e8a638b887bcdcbfef766c5)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Lib/socket.py