fixed possibility of StopIteration Exception to happen with wrong written ternary operators
This commit is contained in:
1 parent
09e9a85382
commit
2c66af7868
3 files changed
+10
-2
No files matched your search
@@ -56,5 +56,10 @@ try:
|
||||
#? str()
|
||||
""
|
||||
|
||||
# wrong ternary
|
||||
a = 1 if
|
||||
#? int()
|
||||
a
|
||||
|
||||
#? []
|
||||
int()).
|
||||
Reference in new issue
Block a user