Make extract yield error message better
This commit is contained in:
1 parent
c9334d140b
commit
3708ab3514
2 files changed
+6
-6
No files matched your search
@@ -419,7 +419,7 @@ def x():
|
||||
return
|
||||
pass
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Can only extract yield statements if they are at the end.
|
||||
Cannot extract yield statements.
|
||||
# -------------------------------------------------- random-yield-2
|
||||
def x():
|
||||
#? 0 error {'new_name': 'ab', 'until_line': 4, 'until_column': 10}
|
||||
@@ -429,4 +429,4 @@ def x():
|
||||
finally:
|
||||
pass
|
||||
# ++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
Can only extract yield statements if they are at the end.
|
||||
Cannot extract yield statements.
|
||||
Reference in new issue
Block a user