Determining method type given its string name presentation and itscorresponding object reference.
Terry Reedy
tjreedy at udel.edu
Sun Jul 31 22:02:10 EDT 2005
"Apple" <newtonapples at gmail.com> wrote in message
news:1122853524.374812.326580 at g14g2000cwa.googlegroups.com...
> Hi I am a bit new to python. I was wondering if there is a way to
> determine whether or not a given string is a member method of a given
> object:
Does callable(cls.attr) fit your needs?
Terry J. Reedy
More information about the Python-list
mailing list