summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/unixserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/sockets/unixserver.py')
-rw-r--r--Demo/sockets/unixserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/unixserver.py b/Demo/sockets/unixserver.py
index b73f857..c3c9c4f 100644
--- a/Demo/sockets/unixserver.py
+++ b/Demo/sockets/unixserver.py
@@ -8,7 +8,7 @@ FILE = 'unix-socket'
s = socket(AF_UNIX, SOCK_STREAM)
s.bind(FILE)
-print 'Sock name is: ['+s.getsockname()+']'
+print('Sock name is: ['+s.getsockname()+']')
# Wait for a connection
s.listen(1)