summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-07-22 17:11:25 (GMT)
committerGitHub <noreply@github.com>2022-07-22 17:11:25 (GMT)
commit665e5585f4f30e1ae73b478dc3f954d80e5c95b4 (patch)
treebb9b7e2c41fde34d1633ec1424d0ea91323e553c
parente50a63ed180a93bb7de1f6f91cb8ba23a817875d (diff)
downloadcpython-665e5585f4f30e1ae73b478dc3f954d80e5c95b4.zip
cpython-665e5585f4f30e1ae73b478dc3f954d80e5c95b4.tar.gz
cpython-665e5585f4f30e1ae73b478dc3f954d80e5c95b4.tar.bz2
Fix async method reference links in `compound_stmts` docs (GH-94935)
(cherry picked from commit 79d2f549adcbbefd4f2c0a0c9dd572bbbf252c62) Co-authored-by: July Tikhonov <july.tikh@gmail.com>
-rw-r--r--Doc/reference/compound_stmts.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 871c101..2b42968 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -1447,7 +1447,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.
@@ -1489,7 +1489,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.