mirror of
https://github.com/python/cpython.git
synced 2025-07-08 03:45:36 +00:00
gh-104301: Allow leading whitespace in disambiguated pdb statements (#104342)
This commit is contained in:
parent
27419a71b5
commit
0449ffe3a4
5 changed files with 50 additions and 12 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue