diff options
author | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:20 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-05-19 13:51:20 (GMT) |
commit | f628a985ffce3a027d76d7b271dc0c3d81892d30 (patch) | |
tree | 798e34fb85d0adee96a40e1947b516bf4c348ad9 /Demo/sockets/throughput.py | |
parent | 61cfd96003aca03518e848a0fc5490787bf066ff (diff) | |
download | cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.zip cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.gz cpython-f628a985ffce3a027d76d7b271dc0c3d81892d30.tar.bz2 |
New == syntax
Diffstat (limited to 'Demo/sockets/throughput.py')
-rwxr-xr-x | Demo/sockets/throughput.py | 4 |
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() |