diff -r 6fa22aa4fc4a -r 8b5c6896655b eric6/DebugClients/Python/FlexCompleter.py --- a/eric6/DebugClients/Python/FlexCompleter.py Mon Apr 12 19:25:18 2021 +0200 +++ b/eric6/DebugClients/Python/FlexCompleter.py Mon Apr 12 19:54:29 2021 +0200 @@ -209,10 +209,7 @@ matches.append(match) if matches or not noprefix: break - if noprefix == '_': - noprefix = '__' - else: - noprefix = None + noprefix = '__' if noprefix == '_' else None matches.sort() return matches