diff options
Diffstat (limited to 'lib-python/3/contextlib.py')
-rw-r--r-- | lib-python/3/contextlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-python/3/contextlib.py b/lib-python/3/contextlib.py index 2d745ea3e3..13a3e1a553 100644 --- a/lib-python/3/contextlib.py +++ b/lib-python/3/contextlib.py @@ -186,7 +186,7 @@ class _AsyncGeneratorContextManager(_GeneratorContextManagerBase, # in this implementation try: await self.gen.athrow(typ, value, traceback) - raise RuntimeError("generator didn't stop after throw()") + raise RuntimeError("generator didn't stop after athrow()") except StopAsyncIteration as exc: return exc is not value except RuntimeError as exc: |