summaryrefslogtreecommitdiffstats
path: root/Lib/dircmp.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
committerGuido van Rossum <guido@python.org>1992-01-01 19:35:13 (GMT)
commitbdfcfccbe591e15221f35add01132174c9b4e669 (patch)
tree7e5f0d52b8c44e623b12e8f4b5cd645c361e5aeb /Lib/dircmp.py
parent4d8e859e8f0a209a7e999ce9cc0988156c795949 (diff)
downloadcpython-bdfcfccbe591e15221f35add01132174c9b4e669.zip
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.gz
cpython-bdfcfccbe591e15221f35add01132174c9b4e669.tar.bz2
New == syntax
Diffstat (limited to 'Lib/dircmp.py')
-rw-r--r--Lib/dircmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/dircmp.py b/Lib/dircmp.py
index 0c6b4a7..f4eea1f 100644
--- a/Lib/dircmp.py
+++ b/Lib/dircmp.py
@@ -174,7 +174,7 @@ def cmp(a, b):
#
def remove(list, item):
for i in range(len(list)):
- if list[i] = item:
+ if list[i] == item:
del list[i]
break