diff options
author | Guido van Rossum <guido@python.org> | 1994-10-08 19:13:48 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1994-10-08 19:13:48 (GMT) |
commit | 00d59746f6d06e3dc7d85ff2ab05e0f3542de816 (patch) | |
tree | e1df8b2e09f5dec6c8c6dfc1177735d501ccfa0b /Demo/sockets/radio.py | |
parent | 37f142d1d1cb7e336fd82303081f2c8bad966819 (diff) | |
download | cpython-00d59746f6d06e3dc7d85ff2ab05e0f3542de816.zip cpython-00d59746f6d06e3dc7d85ff2ab05e0f3542de816.tar.gz cpython-00d59746f6d06e3dc7d85ff2ab05e0f3542de816.tar.bz2 |
fix bind arg
Diffstat (limited to 'Demo/sockets/radio.py')
-rwxr-xr-x | Demo/sockets/radio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/sockets/radio.py b/Demo/sockets/radio.py index 5905ff2..6131d40 100755 --- a/Demo/sockets/radio.py +++ b/Demo/sockets/radio.py @@ -6,7 +6,7 @@ import sys from socket import * s = socket(AF_INET, SOCK_DGRAM) -s.bind('', MYPORT) +s.bind(('', MYPORT)) while 1: data, wherefrom = s.recvfrom(1500, 0) |