]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-138966: Add description for `gi_suspended` attribute (GH-139008)
authorDonghoon Nam <54799053+codenamenam@users.noreply.github.com>
Wed, 17 Sep 2025 08:21:52 +0000 (17:21 +0900)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 08:21:52 +0000 (04:21 -0400)
Doc/library/inspect.rst

index 7f2930ccd5523ab7e18e673e07542dc056a73099..2b3b294ff33a643fe2cb49a2182a96d1739fb4e8 100644 (file)
@@ -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  |