--- a/Utilities/ClassBrowsers/pyclbr.py Sat Sep 19 12:12:19 2015 +0200 +++ b/Utilities/ClassBrowsers/pyclbr.py Mon Sep 21 19:13:30 2015 +0200 @@ -28,7 +28,6 @@ SUPPORTED_TYPES = [ClassBrowsers.PY_SOURCE, ClassBrowsers.PTL_SOURCE] -# TODO: Add support for the new Python 3.5 async def _getnext = re.compile( r""" (?P<String> @@ -65,7 +64,7 @@ | (?P<Method> ^ (?P<MethodIndent> [ \t]* ) - def [ \t]+ + (?: async [ \t]+ )? def [ \t]+ (?P<MethodName> \w+ ) (?: [ \t]* \[ (?: plain | html ) \] )? [ \t]* \( @@ -103,7 +102,8 @@ | (?P<ConditionalDefine> ^ (?P<ConditionalDefineIndent> [ \t]* ) - (?: (?: if | elif ) [ \t]+ [^:]* | else [ \t]* ) : (?= \s* def) + (?: (?: if | elif ) [ \t]+ [^:]* | else [ \t]* ) : + (?= \s* (?: async [ \t]+ )? def) ) | (?P<Import>