From 622d0ea6de2d2c98c8bb76f53b8f7b220980f4b5 Mon Sep 17 00:00:00 2001 From: codenamenam Date: Wed, 17 Sep 2025 10:43:57 +0900 Subject: [PATCH 1/2] docs: Add description for gi_suspended attribute --- Doc/library/inspect.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 7f2930ccd5523a..1728625a2b74b1 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 | From 644817fa8224d4bced607e4241f09c3e8d760fd2 Mon Sep 17 00:00:00 2001 From: codenamenam Date: Wed, 17 Sep 2025 10:55:31 +0900 Subject: [PATCH 2/2] docs: Remove spacing --- Doc/library/inspect.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index 1728625a2b74b1..2b3b294ff33a64 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -253,8 +253,8 @@ attributes (see :ref:`import-mod-attrs` for module attributes): +-----------------+-------------------+---------------------------+ | | gi_running | is the generator running? | +-----------------+-------------------+---------------------------+ -| | gi_suspended | is the generator suspended| -| | | ? | +| | gi_suspended | is the generator | +| | | suspended? | +-----------------+-------------------+---------------------------+ | | gi_code | code | +-----------------+-------------------+---------------------------+