summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binop.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2010-07-28 16:39:41 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2010-07-28 16:39:41 (GMT)
commit02ea12b29196ae002e26061eb0afb96db0cf889b (patch)
tree6ada8bb7e3777cb573814322d1eab627fd1899a2 /Lib/test/test_binop.py
parent3f8ab965f722b3bda679c9271fb8907e2bbcdc64 (diff)
downloadcpython-02ea12b29196ae002e26061eb0afb96db0cf889b.zip
cpython-02ea12b29196ae002e26061eb0afb96db0cf889b.tar.gz
cpython-02ea12b29196ae002e26061eb0afb96db0cf889b.tar.bz2
Syntax cleanup.
Diffstat (limited to 'Lib/test/test_binop.py')
-rw-r--r--Lib/test/test_binop.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_binop.py b/Lib/test/test_binop.py
index 5f3ba8b..8417916 100644
--- a/Lib/test/test_binop.py
+++ b/Lib/test/test_binop.py
@@ -16,7 +16,7 @@ def isint(x):
def isnum(x):
"""Test whether an object is an instance of a built-in numeric type."""
- for T in int, int, float, complex:
+ for T in int, float, complex:
if isinstance(x, T):
return 1
return 0