DebugClients/Python/FlexCompleter.py

changeset 3621
15f23ed3f216
parent 3591
2f2a4a76dd22
child 3670
f0cb7579c0b4
diff -r 2c8d96d47cda -r 15f23ed3f216 DebugClients/Python/FlexCompleter.py
--- a/DebugClients/Python/FlexCompleter.py	Fri May 30 13:17:20 2014 +0200
+++ b/DebugClients/Python/FlexCompleter.py	Fri May 30 15:16:40 2014 +0200
@@ -179,7 +179,7 @@
             for word in list:
                 if word[:n] == text and \
                    word != "__builtins__" and \
-                   not word in matches:
+                   word not in matches:
                     matches.append(word)
         return matches
 
@@ -223,7 +223,7 @@
             try:
                 if word[:n] == attr and word != "__builtins__":
                     match = "%s.%s" % (expr, word)
-                    if not match in matches:
+                    if match not in matches:
                         matches.append(match)
             except:
                 # some badly behaved objects pollute dir() with non-strings,

eric ide

mercurial