summaryrefslogtreecommitdiffstats
path: root/Doc/library/inspect.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-11 21:11:28 (GMT)
committerGitHub <noreply@github.com>2023-10-11 21:11:28 (GMT)
commitcae968ba1708ce23760974e850a0fceee856d926 (patch)
tree46546aec5d6595d8e4222d4cad03aa243621b0cc /Doc/library/inspect.rst
parente6c53dd08535076fc60e9295bf46a2b7e615e2f3 (diff)
downloadcpython-cae968ba1708ce23760974e850a0fceee856d926.zip
cpython-cae968ba1708ce23760974e850a0fceee856d926.tar.gz
cpython-cae968ba1708ce23760974e850a0fceee856d926.tar.bz2
[3.12] gh-110631: Fix reST indentation in `Doc/library` (GH-110685) (#110736)
gh-110631: Fix reST indentation in `Doc/library` (GH-110685) Fix wrong indentation in the Doc/library dir. (cherry picked from commit bb7923f556537a463c403dc1097726d8a8e1a6f2) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Diffstat (limited to 'Doc/library/inspect.rst')
-rw-r--r--Doc/library/inspect.rst27
1 files changed, 15 insertions, 12 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 556cc3b..23dde26 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -1458,10 +1458,11 @@ generator to be determined easily.
Get current state of a generator-iterator.
Possible states are:
- * GEN_CREATED: Waiting to start execution.
- * GEN_RUNNING: Currently being executed by the interpreter.
- * GEN_SUSPENDED: Currently suspended at a yield expression.
- * GEN_CLOSED: Execution has completed.
+
+ * GEN_CREATED: Waiting to start execution.
+ * GEN_RUNNING: Currently being executed by the interpreter.
+ * GEN_SUSPENDED: Currently suspended at a yield expression.
+ * GEN_CLOSED: Execution has completed.
.. versionadded:: 3.2
@@ -1473,10 +1474,11 @@ generator to be determined easily.
``cr_frame`` attributes.
Possible states are:
- * CORO_CREATED: Waiting to start execution.
- * CORO_RUNNING: Currently being executed by the interpreter.
- * CORO_SUSPENDED: Currently suspended at an await expression.
- * CORO_CLOSED: Execution has completed.
+
+ * CORO_CREATED: Waiting to start execution.
+ * CORO_RUNNING: Currently being executed by the interpreter.
+ * CORO_SUSPENDED: Currently suspended at an await expression.
+ * CORO_CLOSED: Execution has completed.
.. versionadded:: 3.5
@@ -1489,10 +1491,11 @@ generator to be determined easily.
``ag_running`` and ``ag_frame`` attributes.
Possible states are:
- * AGEN_CREATED: Waiting to start execution.
- * AGEN_RUNNING: Currently being executed by the interpreter.
- * AGEN_SUSPENDED: Currently suspended at a yield expression.
- * AGEN_CLOSED: Execution has completed.
+
+ * AGEN_CREATED: Waiting to start execution.
+ * AGEN_RUNNING: Currently being executed by the interpreter.
+ * AGEN_SUSPENDED: Currently suspended at a yield expression.
+ * AGEN_CLOSED: Execution has completed.
.. versionadded:: 3.12