Re: pdb: How to use the 'break' parameter?

2024-08-21 Thread Peter J. Holzer via Python-list
On 2024-08-22 01:44:35 +, Kevin M. Wilson via Python-list wrote: > break (Old_MacDonald:23 | name[indx] == 'd', indx = 4), based on the doc spec > in python.orgĀ (https://docs.python.org/3/library/pdb.html#debugger-commands) > Cell In[1], line 20 > break (Old_MacDonald:23 | name[indx] == 'd

pdb: How to use the 'break' parameter?

2024-08-21 Thread Kevin M. Wilson via Python-list
break (Old_MacDonald:23 | name[indx] == 'd', indx = 4), based on the doc spec in python.orgĀ (https://docs.python.org/3/library/pdb.html#debugger-commands) Cell In[1], line 20 break (Old_MacDonald:23 | name[indx] == 'd', indx = 4) ^ SyntaxError: invalid syntax I got one blan