/ Published in: Python

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
def __line__ (): caller = inspect.stack()[1] return int (caller[2]) def __function__ (): caller = inspect.stack()[1] return caller[3]
URL: http://juliobiason.net/2006/06/16/255306/
Comments
