Author jdemeyer
Recipients jdemeyer, ncoghlan, rhettinger, terry.reedy
Date 2018-04-14.13:59:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The only attributes that a method is guaranteed to have are __func__ and __self__ (which are the arguments passed to the MethodType constructor).

All other attributes are looked up through __func__ by the C version of the following Python code:

def __getattr__(self, attr):
    return getattr(self.__func__, attr)
Date User Action Args
2018-04-14 13:59:05jdemeyersetrecipients: + jdemeyer, rhettinger, terry.reedy, ncoghlan
2018-04-14 13:59:05jdemeyersetmessageid: <>
2018-04-14 13:59:05jdemeyerlinkissue33261 messages
2018-04-14 13:59:05jdemeyercreate