From 12bc2c5224590af49f8ba32f592c7d6444601369 Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Sun, 26 May 2024 11:34:24 -0700 Subject: [PATCH 1/3] Improve version added section for convenience variable --- Doc/library/pdb.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 7d67e06434b799..2d15e524d0005a 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -288,7 +288,7 @@ There are three preset *convenience variables*: * ``$_retval``: the return value if the frame is returning * ``$_exception``: the exception if the frame is raising an exception -.. versionadded:: 3.12 +.. versionadded:: 3.12 *convenience variable* .. index:: pair: .pdbrc; file From b142593a0d975ec9a7b0fc8c8e3994aae6ecec7d Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Sun, 26 May 2024 14:21:40 -0700 Subject: [PATCH 2/3] Change the format --- Doc/library/pdb.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 2d15e524d0005a..08b80fc950854d 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -288,7 +288,8 @@ There are three preset *convenience variables*: * ``$_retval``: the return value if the frame is returning * ``$_exception``: the exception if the frame is raising an exception -.. versionadded:: 3.12 *convenience variable* +.. versionadded:: 3.12 + *convenience variable* .. index:: pair: .pdbrc; file From e44bbcab201f199356c13b55dfe696f32906f72d Mon Sep 17 00:00:00 2001 From: Tian Gao Date: Mon, 27 May 2024 10:20:28 -0700 Subject: [PATCH 3/3] Update Doc/library/pdb.rst Co-authored-by: Alex Waygood --- Doc/library/pdb.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Doc/library/pdb.rst b/Doc/library/pdb.rst index 08b80fc950854d..cd6496203949ea 100644 --- a/Doc/library/pdb.rst +++ b/Doc/library/pdb.rst @@ -289,7 +289,8 @@ There are three preset *convenience variables*: * ``$_exception``: the exception if the frame is raising an exception .. versionadded:: 3.12 - *convenience variable* + + Added the *convenience variable* feature. .. index:: pair: .pdbrc; file