From c025576a8f0822ec42527e80eb7a02700316d100 Mon Sep 17 00:00:00 2001 From: Donghoon Nam <54799053+codenamenam@users.noreply.github.com> Date: Wed, 17 Sep 2025 17:21:52 +0900 Subject: [PATCH] gh-138966: Add description for `gi_suspended` attribute (GH-139008) --- 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