Commit 07ce3aa2 authored by Bryton Lacquement's avatar Bryton Lacquement 🚪

division_traced: add a comment about the 'id' parameter

parent 902d8d16
......@@ -15,6 +15,9 @@ trace = create_table("division", "filename", "lineno", "id", "dividend_type", "d
@register_tracing_function
def division_traced(id, dividend, divisor):
# id is used to differentiate the divisions of the same line. It is not
# possible to obtain this information with inspect.currentframe() only.
previous_frame = inspect.currentframe().f_back
trace(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment