summaryrefslogtreecommitdiffstats
path: root/Lib/gopherlib.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-09-25 21:40:04 (GMT)
committerBarry Warsaw <barry@python.org>2001-09-25 21:40:04 (GMT)
commit45653503ec0a0f8db383aa3532bc09450970c74a (patch)
tree7545810261f9da0a9c10f1a10a8c47aced10b6b9 /Lib/gopherlib.py
parent874f15aa289e30e32a74379749cf9b6bea674fde (diff)
downloadcpython-45653503ec0a0f8db383aa3532bc09450970c74a.zip
cpython-45653503ec0a0f8db383aa3532bc09450970c74a.tar.gz
cpython-45653503ec0a0f8db383aa3532bc09450970c74a.tar.bz2
test_iterator(): Don't do a type comparison to see if it's an
iterator, just test to make sure it has the two required iterator protocol methods __iter__() and next() -- actually just test hasattr-ness.
Diffstat (limited to 'Lib/gopherlib.py')
0 files changed, 0 insertions, 0 deletions