From 82fce8271c4f34514db6d31559e483d5fe47a0bb Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Wed, 17 Sep 2025 11:09:15 +0200 Subject: [PATCH] [3.14] gh-138966: Add description for `gi_suspended` attribute (GH-139008) (#139020) Co-authored-by: Donghoon Nam <54799053+codenamenam@users.noreply.github.com> --- Doc/library/inspect.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 7f2930ccd552..2b3b294ff33a 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -253,6 +253,9 @@ attributes (see :ref:`import-mod-attrs` for module attributes): +-----------------+-------------------+---------------------------+ | | gi_running | is the generator running? | +-----------------+-------------------+---------------------------+ +| | gi_suspended | is the generator | +| | | suspended? | ++-----------------+-------------------+---------------------------+ | | gi_code | code | +-----------------+-------------------+---------------------------+ | | gi_yieldfrom | object being iterated by | -- 2.47.3