From 7fc7361fdefd16f3da71559eff29dc8090e5a0bb Mon Sep 17 00:00:00 2001 From: sobolevn Date: Sun, 26 Feb 2023 11:45:09 +0300 Subject: [PATCH 1/2] gh-101100: Fix sphinx warnings in `types` module --- Doc/library/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/types.rst b/Doc/library/types.rst index 415413c4cd9747..e5a5a0096e5df6 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -486,7 +486,7 @@ Coroutine Utility Functions The generator-based coroutine is still a :term:`generator iterator`, but is also considered to be a :term:`coroutine` object and is :term:`awaitable`. However, it may not necessarily implement - the :meth:`__await__` method. + the __await__ method. If *gen_func* is a generator function, it will be modified in-place. From 84d039850571ef290cb05956075ecbfed8737d02 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 27 Feb 2023 06:55:06 +0300 Subject: [PATCH 2/2] Update Doc/library/types.rst Co-authored-by: Alex Waygood --- Doc/library/types.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/types.rst b/Doc/library/types.rst index e5a5a0096e5df6..747ba58bb225d4 100644 --- a/Doc/library/types.rst +++ b/Doc/library/types.rst @@ -486,7 +486,7 @@ Coroutine Utility Functions The generator-based coroutine is still a :term:`generator iterator`, but is also considered to be a :term:`coroutine` object and is :term:`awaitable`. However, it may not necessarily implement - the __await__ method. + the :meth:`~object.__await__` method. If *gen_func* is a generator function, it will be modified in-place.