stefan_ml at behnel.de
Fri Mar 19 15:11:42 CET 2010
moerchendiser2k3, 19.03.2010 14:12:
> In my case I call a funcion and I would like to get the line
> where the function returned.
> for instance:
> def my_function():
> return 3
> So I would like to get line 2(in C) somehow.
Ok, so you're looking for the C-level trace function in CPython, I guess.
Could you explain why you want to know the line number?
More information about the Python-list