]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-138966: Add description for `gi_suspended` attribute (GH-139008) (GH-139019)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Sep 2025 08:42:13 +0000 (10:42 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 08:42:13 +0000 (04:42 -0400)
gh-138966: Add description for `gi_suspended` attribute (GH-139008)
(cherry picked from commit c025576a8f0822ec42527e80eb7a02700316d100)

Co-authored-by: Donghoon Nam <54799053+codenamenam@users.noreply.github.com>
Doc/library/inspect.rst

index 7ed39ae2fec3c30a96f785518e4517b730d65064..a6107dea0f938b9cab536e34c1109c0cc708a843 100644 (file)
@@ -222,6 +222,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  |