[issue45568] @asynccontextmanager is missing in decorator usage example

2021-10-22 Thread Zbigniew Siciarz
New submission from Zbigniew Siciarz : The docs of contextlib.asynccontextmanager provide an example how to use it as a decorator (https://docs.python.org/3/library/contextlib.html#contextlib.asynccontextmanager). However, the example snippet of code doesn't decorate the timeit() fun

[issue45568] @asynccontextmanager is missing in decorator usage example

2021-10-22 Thread Zbigniew Siciarz
Change by Zbigniew Siciarz : -- keywords: +patch pull_requests: +27428 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29151 ___ Python tracker <https://bugs.python.org/issu