mirror of
https://github.com/python/cpython.git
synced 2026-01-04 06:22:20 +00:00
Fix async method reference links in compound_stmts docs (GH-94935)
(cherry picked from commit 79d2f549ad)
Co-authored-by: July Tikhonov <july.tikh@gmail.com>
This commit is contained in:
parent
0fda8742a4
commit
e99496e1c2
1 changed files with 2 additions and 2 deletions
|
|
@ -1495,7 +1495,7 @@ Is semantically equivalent to::
|
|||
else:
|
||||
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
|
||||
body of a coroutine function.
|
||||
|
|
@ -1537,7 +1537,7 @@ is semantically equivalent to::
|
|||
if not hit_except:
|
||||
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
|
||||
body of a coroutine function.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue