Raise violation on starred expressions where the child is a boolean/none

This commit is contained in:
Batuhan Taskaya
2020-05-22 19:52:22 +03:00
parent 00621977b7
commit 8f46481aaf
3 changed files with 49 additions and 20 deletions

View File

@@ -12,13 +12,6 @@ from .__future__ import absolute_import
''r''u''
b'' BR''
for x in [1]:
try:
continue # Only the other continue and pass is an error.
finally:
#: E901
continue
for x in [1]:
break