8000 Fix async method reference links in `compound_stmts` docs (GH-94935) · python/cpython@e99496e · GitHub
[go: up one dir, main page]

Skip to content

Commit e99496e

Browse files
miss-islingtontifv
andauthored
Fix async method reference links in compound_stmts docs (GH-94935)
(cherry picked from commit 79d2f54) Co-authored-by: July Tikhonov <july.tikh@gmail.com>
1 parent 0fda874 commit e99496e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/reference/compound_stmts.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,7 +1495,7 @@ Is semantically equivalent to::
14951495
else:
14961496
SUITE2
14971497

1498-
See also :meth:`__aiter__` and :meth:`__anext__` for details.
1498+
See also :meth:`~object.__aiter__` and :meth:`~object.__anext__` for details.
14991499

15001500
It is a :exc:`SyntaxError` to use an ``async for`` statement outside the
15011501
body of a coroutine function.
@@ -1537,7 +1537,7 @@ is semantically equivalent to::
15371537
if not hit_except:
15381538
await aexit(manager, None, None, None)
15391539

1540-
See also :meth:`__aenter__` and :meth:`__aexit__` for details.
1540+
See also :meth:`~object.__aenter__` and :meth:`~object.__aexit__` for details.
15411541

15421542
It is a :exc:`SyntaxError` to use an ``async with`` statement outside the
15431543
body of a coroutine function.

0 commit comments

Comments
 (0)
0