Function reference -> name?

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Fri Nov 14 16:01:53 CET 2003


Emile van Sebille:
>Rene Pijlman:
>> When I have a reference to a function, how can I get the name of that function?
[...]
>>>>>>> dir (f1)

Of course.

I forgot to mention that the function reference is an XML-RPC client stub,
which makes quite a difference :-) 

dir() told me I need functionReference._Method__name in that case.

Thanks Emile and Duncan.

-- 
René Pijlman




More information about the Python-list mailing list