Skip to content
Snippets Groups Projects
Unverified Commit 79d2f549 authored by July Tikhonov's avatar July Tikhonov Committed by GitHub
Browse files

Fix async method reference links in `compound_stmts` docs (GH-94935)

parent 9c47cf33
Branches
Tags
No related merge requests found
...@@ -1495,7 +1495,7 @@ Is semantically equivalent to:: ...@@ -1495,7 +1495,7 @@ Is semantically equivalent to::
else: else:
SUITE2 SUITE2
See also :meth:`__aiter__` and :meth:`__anext__` for details. See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details.
It is a :exc:`SyntaxError` to use an ``async for`` statement outside the It is a :exc:`SyntaxError` to use an ``async for`` statement outside the
body of a coroutine function. body of a coroutine function.
...@@ -1537,7 +1537,7 @@ is semantically equivalent to:: ...@@ -1537,7 +1537,7 @@ is semantically equivalent to::
if not hit_except: if not hit_except:
await aexit(manager, None, None, None) await aexit(manager, None, None, None)
See also :meth:`__aenter__` and :meth:`__aexit__` for details. See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for details.
It is a :exc:`SyntaxError` to use an ``async with`` statement outside the It is a :exc:`SyntaxError` to use an ``async with`` statement outside the
body of a coroutine function. body of a coroutine function.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment