Skip to content

Commit 996df0e

Browse files
meatball133BethanyG
authored andcommitted
Update TRACEBACKS.md
1 parent 623fe0e commit 996df0e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docs/TRACEBACKS.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,11 @@ Here is an example of how to use the debugger based on the code earlier:
277277
In python 3.7 and newer there is an easier way to create breakpoints You can simply write `breakpoint()` where you want to create a breakpoint.
278278

279279
```python
280-
import pdb
281-
282280
def add(num1, num2):
283281
breakpoint()
284282
return num1 + num2
285283

286-
pdb.set_trace()
284+
breakpoint()
287285
sum = add(1,5)
288286
print(sum)
289287
```

0 commit comments

Comments
 (0)