Skip to content

Fix return values of athrow and aclose. - #845

Merged
gvanrossum merged 1 commit into
python:masterfrom
JelleZijlstra:patch-6
Jan 19, 2017
Merged

gvanrossum merged 1 commit into
python:masterfrom
JelleZijlstra:patch-6

Conversation

@JelleZijlstra

Copy link
Copy Markdown
Member

I misread the PEP here (https://www.python.org/dev/peps/pep-0525/#asynchronous-generator-object); both of these return the yielded type.

This mirrors the implementation in python/mypy#2711.

@gvanrossum
gvanrossum merged commit b96bd69 into python:master Jan 19, 2017
@JelleZijlstra
JelleZijlstra deleted the patch-6 branch May 4, 2017 03:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants