From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 17 Sep 2025 09:09:15 +0000 (+0200) Subject: [3.14] gh-138966: Add description for `gi_suspended` attribute (GH-139008) (#139020) X-Git-Tag: v3.14.0rc3~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82fce8271c4f34514db6d31559e483d5fe47a0bb;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-138966: Add description for `gi_suspended` attribute (GH-139008) (#139020) Co-authored-by: Donghoon Nam <54799053+codenamenam@users.noreply.github.com> --- 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 |