diff -r 90a9aefd4253 -r 0c6d32ec64f1 eric6/Utilities/ClassBrowsers/protoclbr.py --- a/eric6/Utilities/ClassBrowsers/protoclbr.py Sun Sep 20 18:32:28 2020 +0200 +++ b/eric6/Utilities/ClassBrowsers/protoclbr.py Sun Sep 20 18:32:43 2020 +0200 @@ -257,7 +257,7 @@ # convert lineno to be zero based lineno -= 1 # 1. search for opening brace '{' - while lineno < len(lines) and not "{" in lines[lineno]: + while lineno < len(lines) and "{" not in lines[lineno]: lineno += 1 depth = lines[lineno].count("{") - lines[lineno].count("}") # 2. search for ending line, i.e. matching closing brace '}'