Skip to content
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

Have a yield act like a return #1

davep opened this issue Jun 6, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 6, 2019

I like to have a :returns: documentation that makes it clear the function returns a generator, if there's a yield in a function. So have yield trigger the same thing as a return.

@davep davep self-assigned this Jun 6, 2019

davep added a commit that referenced this issue Jun 7, 2019

@davep davep removed the todo label Jun 7, 2019

@davep davep closed this Jun 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.