summaryrefslogtreecommitdiffstats
path: root/Demo/sockets/throughput.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-05-19 13:51:20 (GMT)
committerGuido van Rossum <guido@python.org>1992-05-19 13:51:20 (GMT)
commitf628a985ffce3a027d76d7b271dc0c3d81892d30 (patch)
tree798e34fb85d0adee96a40e1947b516bf4c348ad9 /Demo/sockets/throughput.py
parent61cfd96003aca03518e848a0fc5490787bf066ff (diff)
downloadcpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.zip
cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.gz
cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.bz2
New == syntax
Diffstat (limited to 'Demo/sockets/throughput.py')
-rwxr-xr-xDemo/sockets/throughput.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demo/sockets/throughput.py b/Demo/sockets/throughput.py
index 411af9f..6ffcaa8 100755
--- a/Demo/sockets/throughput.py
+++ b/Demo/sockets/throughput.py
@@ -23,9 +23,9 @@ BUFSIZE = 1024
def main():
if len(sys.argv) < 2:
usage()
- if sys.argv[1] = '-s':
+ if sys.argv[1] == '-s':
server()
- elif sys.argv[1] = '-c':
+ elif sys.argv[1] == '-c':
client()
else:
usage()