This works: 1+dbg(1) # prints [test.py:2] 1 = 1 but when `dbg` is in function arguments, it displays the parent expression: int(1+dbg(1)) # prints [test.py:2] 1+dbg(1) = 1
This works:
but when
dbgis in function arguments, it displays the parent expression: