Skip to content

Commit 71d97b1

Browse files
committed
Update opt-trace-format.md
1 parent 02b3344 commit 71d97b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v3/docs/opt-trace-format.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ def baz(c):
603603
result = foo(1, 2, 3)
604604
```
605605

606-
Let's jump straight to <a href="http://pythontutor.com/visualize.html#code=def+foo(x,+y,+z)%3A%0A++return+bar(x,+y)%0A++%0Adef+bar(a,+b)%3A%0A++return+baz(a)%0A++%0Adef+baz(c)%3A%0A++return+c%0A++%0Aresult+%3D+foo(1,+2,+3)%0A&mode=display&cumulative=false&py=2&curInstr=7">Step 8 of 10</a>,
606+
Let's jump straight to <a href="http://pythontutor.com/visualize.html#code=def+foo(x,+y,+z)%3A%0A++return+bar(x,+y)%0A++%0Adef+bar(a,+b)%3A%0A++return+baz(a)%0A++%0Adef+baz(c)%3A%0A++return+c%0A++%0Aresult+%3D+foo(1,+2,+3)%0A&mode=display&cumulative=false&py=2&curInstr=10">Step 11 of 13</a>,
607607
when the program is about to return from the call to `baz`.
608608

609609
Study the visualization for a bit. Note that there are four frames currently on the stack: globals, `foo`, `bar`, and `baz`.

0 commit comments

Comments
 (0)