Skip to content

Commit 890e1ef

Browse files
committed
Update v3/docs/opt-trace-format.md
1 parent 1172da6 commit 890e1ef

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎v3/docs/opt-trace-format.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,8 @@ when the program is about to return from the call to `baz`.
585585

586586
Study the visualization for a bit. Note that there are four frames currently on the stack: globals, `foo`, `bar`, and `baz`.
587587
Each frame consists of a name and a mapping between constituent variable names and values. There is a special
588-
variable called `Return value`, which represents the value that this function is about to return to its caller.
588+
variable called `Return value` (stored in the trace as `__return__`),
589+
which represents the value that `baz` is about to return to its caller.
589590

590591
Let's now look at the execution point object corresponding to this visualization:
591592

@@ -745,5 +746,5 @@ Finally, ignore `is_parent`, `is_zombie`, and `parent_frame_id_list` for now. We
745746

746747
(TODO: WRITE ME!)
747748

748-
(TODO: talk about needing to append a '_p' and '_z' onto `unique_hash` when a frame becomes a parent or zombie,
749+
(TODO: talk about needing to append `_p` and `_z` onto `unique_hash` when a frame becomes a parent or zombie,
749750
respectively, since the frontend needs to know when to refresh the display.)

0 commit comments

Comments
 (0)