On May 15, 4:59 pm, HMS Surprise <[EMAIL PROTECTED]> wrote:
> Is there a way that a function may access the doc string or func_name
> of the caller?
>
> Thanks,
>
> jvh

Yes.  The inspect module allows you to look up the call stack for
information on the caller, the caller's caller, local vars, etc.

-- Paul

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to