diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:03:45 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 12:03:45 (GMT) |
commit | 83ff7498272c5f3acbda9b3cad0e2044ab7547c2 (patch) | |
tree | abf864e31d01e45936b80e72d273d5abc7393eb2 /Lib/test/test_socket.py | |
parent | 2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63 (diff) | |
download | cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.zip cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.tar.gz cpython-83ff7498272c5f3acbda9b3cad0e2044ab7547c2.tar.bz2 |
String method conversion.
Diffstat (limited to 'Lib/test/test_socket.py')
-rw-r--r-- | Lib/test/test_socket.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index fe37936..00a4a91 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py @@ -12,7 +12,6 @@ from test_support import verbose, TestFailed import socket import os import time -import string def missing_ok(str): try: @@ -79,7 +78,7 @@ if verbose: print all_host_names for name in all_host_names: - if string.find(name, '.'): + if name.find('.'): break else: print 'FQDN not found' |