--- C:\apps\Python26\Lib\rlcompleter.py 2008-07-31 23:45:50.000000000 -0200 +++ C:\apps\Python26\Lib\rlcompleter.workingcopy.py 2009-01-27 01:53:29.000000000 -0200 @@ -148,11 +148,13 @@ words.extend(get_class_members(thisobject.__class__)) matches = [] n = len(attr) + seen = set() for word in words: - if word[:n] == attr and hasattr(thisobject, word): + if word not in seen and word[:n] == attr and hasattr(thisobject, word): val = getattr(thisobject, word) word = self._callable_postfix(val, "%s.%s" % (expr, word)) matches.append(word) + seen.add(word) return matches def get_class_members(klass):