Determining caller's file and line number

David Abrahams dave at boost-consulting.com
Wed Jun 23 17:30:37 EDT 2004


Is there any way to determine the file and line number (if any) of a
method's invocation from within its body?

Many Thanks in advance,

Dave
--
David Abrahams
Boost Consulting
http://www.boost-consulting.com



More information about the Python-list mailing list