summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/echosvr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/echosvr.py')
-rwxr-xr-xDemo/sockets/echosvr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/echosvr.py b/Demo/sockets/echosvr.py
index f8a9623..7de6391 100755
--- a/Demo/sockets/echosvr.py
+++ b/Demo/sockets/echosvr.py
@@ -21,7 +21,7 @@ def main():
s.bind(('', port))
s.listen(1)
conn, (remotehost, remoteport) = s.accept()
- print 'connected by', remotehost, remoteport
+ print('connected by', remotehost, remoteport)
while 1:
data = conn.recv(BUFSIZE)
if not data: