summaryrefslogtreecommitdiffstats
path: root/Lib/pydoc_data/topics.py
diff options
context:
space:
mode:
authorJames Gerity <snoopjedi@gmail.com>2023-05-11 17:12:02 (GMT)
committerGitHub <noreply@github.com>2023-05-11 17:12:02 (GMT)
commit0449ffe3a4ddf03367a5ee3d943c89f442b7b407 (patch)
tree725782510197d69b2f23bda34d2e1942a1335463 /Lib/pydoc_data/topics.py
parent27419a71b5aa18baf24f4e640c5a6e8df9338928 (diff)
downloadcpython-0449ffe3a4ddf03367a5ee3d943c89f442b7b407.zip
cpython-0449ffe3a4ddf03367a5ee3d943c89f442b7b407.tar.gz
cpython-0449ffe3a4ddf03367a5ee3d943c89f442b7b407.tar.bz2
gh-104301: Allow leading whitespace in disambiguated pdb statements (#104342)
Diffstat (limited to 'Lib/pydoc_data/topics.py')
-rw-r--r--Lib/pydoc_data/topics.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/Lib/pydoc_data/topics.py b/Lib/pydoc_data/topics.py
index 1babb5c..3aaaee6 100644
--- a/Lib/pydoc_data/topics.py
+++ b/Lib/pydoc_data/topics.py
@@ -5283,11 +5283,14 @@ topics = {'assert': 'The "assert" statement\n'
'current\n'
' stack frame. The exclamation point can be omitted unless the '
'first\n'
- ' word of the statement resembles a debugger command. To set '
- 'a\n'
- ' global variable, you can prefix the assignment command with '
- 'a\n'
- ' "global" statement on the same line, e.g.:\n'
+ ' word of the statement resembles a debugger command, e.g.:'
+ '\n'
+ ' (Pdb) ! n=42\n'
+ ' (Pdb)\n'
+ '\n'
+ ' To set a global variable, you can prefix the assignment command '
+ ' with \n'
+ ' a "global" statement on the same line, e.g.:\n'
'\n'
" (Pdb) global list_options; list_options = ['-l']\n"
' (Pdb)\n'