bpo-38539: Update demo files (GH-16890)

This commit is contained in:
Julin S 2019-10-23 08:53:48 +05:30 committed by Raymond Hettinger
parent 20bf8e08a1
commit a4aeb33669
5 changed files with 850 additions and 21 deletions

View file

@ -29,7 +29,7 @@ def main():
with conn:
print('connection from', remotehost, remoteport)
request = b''
while 1:
while True:
data = conn.recv(BUFSIZE)
if not data:
break