summaryrefslogtreecommitdiff
path: root/Tools/demo/rpythond.py
diff options
context:
space:
mode:
authorJulin S <48789920+ju-sh@users.noreply.github.com>2019-10-23 08:53:48 +0530
committerRaymond Hettinger <rhettinger@users.noreply.github.com>2019-10-22 20:23:48 -0700
commita4aeb336697c85996d781271cc6b42bc6d4c2908 (patch)
tree7ea5badbae3285e922e84fe95fe2a676ca2e7110 /Tools/demo/rpythond.py
parent20bf8e08a18c0f1eab49c54f3bd56f8364a2f5cc (diff)
downloadcpython-git-a4aeb336697c85996d781271cc6b42bc6d4c2908.tar.gz
bpo-38539: Update demo files (GH-16890)
Diffstat (limited to 'Tools/demo/rpythond.py')
-rwxr-xr-xTools/demo/rpythond.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/rpythond.py b/Tools/demo/rpythond.py
index a885b3e946..a18de137fa 100755
--- a/Tools/demo/rpythond.py
+++ b/Tools/demo/rpythond.py
@@ -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