Sujet : pdb: How to use the 'break' parameter?
De : kevinmwilson1956 (at) *nospam* yahoo.com (Kevin M. Wilson)
Groupes : comp.lang.pythonDate : 22. Aug 2024, 02:44:35
Autres entêtes
Message-ID : <mailman.61.1724291136.2890.python-list@python.org>
References : 1 2
User-Agent : WebService/1.1.22544 YMailNorrin
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 blank white screen when I entered the exact first line of the python.org-->b(reak) [([filename:]lineno | function) [, condition]]
I'd be obliged for an assist... KMW
***************************************************
"When you pass through the waters, I will be with you: and when you pass through the rivers, they will not sweep over you. When you walk through the fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2