cpython/Lib/test/tracedmodules/testmod.py
Alexander Belopolsky 9d17da33e2 Issue #9315: Fix for the trace module to record correct class name
when tracing methods.  Unit tests. Patch by Eli Bendersky.
2010-09-13 16:45:02 +00:00

3 lines
44 B
Python

def func(x):
b = x + 1
return b + 2