Just a basic question .... When using getattr for a specific method from a different class, can we somehow tell getattr to do a case-insensitive search.
Say for eg. m = getattr(obj.__c lass__,'SetupCl ass') where obj is a object of a specific class.
If SetupClass is declared as setUPClass or in any other way, the return value of m is going to be None, so can this be avoided in any way
Thanks
Say for eg. m = getattr(obj.__c lass__,'SetupCl ass') where obj is a object of a specific class.
If SetupClass is declared as setUPClass or in any other way, the return value of m is going to be None, so can this be avoided in any way
Thanks
Comment