New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive error on return
in generator
#16
Comments
Good catch. I remember implementing something to handle returns inside generators at some point. I'll take a look at this. |
I actually looked into fixing this myself. There is indeed a check for |
Oh, in this case what you probably want something like a |
If you use
return
in a generator, an incorrect TypeError is generated:The text was updated successfully, but these errors were encountered: