mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-38539: Update demo files (GH-16890)
This commit is contained in:
parent
20bf8e08a1
commit
a4aeb33669
5 changed files with 850 additions and 21 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue