]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-138966: Add description for `gi_suspended` attribute (GH-139008) (#139020)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Sep 2025 09:09:15 +0000 (11:09 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Sep 2025 09:09:15 +0000 (12:09 +0300)
Co-authored-by: Donghoon Nam <54799053+codenamenam@users.noreply.github.com>
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  |