mirror of https://github.com/python/cpython
4 lines
254 B
ReStructuredText
4 lines
254 B
ReStructuredText
|
Change coro.cr_frame/gen.gi_frame to return ``None`` after the coroutine/generator has been closed.
|
||
|
This fixes a bug where :func:`~inspect.getcoroutinestate` and :func:`~inspect.getgeneratorstate`
|
||
|
return the wrong state for a closed coroutine/generator.
|