"Serdar Tumgoren" <zstumgo...@gmail.com> wrote
Is there a way to dynamically grab the name of the method? E.g., "get_name" in the above class.
There may be more direct or easier ways but the traceback moduile lets you inspect the call stack to see what the current method or function is. Thats how Python produces its error message traceback...
Alan G. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor