Revision: 15639
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 12, 2009 14:34 by jvc
Initial Code
def __line__ (): caller = inspect.stack()[1] return int (caller[2]) def __function__ (): caller = inspect.stack()[1] return caller[3]
Initial URL
http://juliobiason.net/2006/06/16/255306/
Initial Description
Initial Title
__FUNCTION__ and __LINE__ in Python
Initial Tags
Initial Language
Python