From: Donghoon Nam <54799053+codenamenam@users.noreply.github.com> Date: Wed, 17 Sep 2025 08:21:52 +0000 (+0900) Subject: gh-138966: Add description for `gi_suspended` attribute (GH-139008) X-Git-Tag: v3.15.0a1~324 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c025576a8f0822ec42527e80eb7a02700316d100;p=thirdparty%2FPython%2Fcpython.git gh-138966: Add description for `gi_suspended` attribute (GH-139008) --- 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 |