Fix bug in 3.5+ async stmt ..

and in verification status message
This commit is contained in:
rocky
2018-01-19 03:15:08 -05:00
parent 4dfb85f062
commit 2126e4cf32
5 changed files with 15 additions and 6 deletions

View File

@@ -441,7 +441,7 @@ class SourceWalker(GenericASTTraversal, object):
if version >= 3.5:
TABLE_DIRECT.update({
'await_expr': ( 'await %c', 0),
'await_stmt': ( '%|%c', 0),
'await_stmt': ( '%|%c\n', 0),
'async_for_stmt': (
'%|async for %c in %c:\n%+%c%-\n\n', 9, 1, 25 ),
'async_forelse_stmt': (