Author rhettinger
Recipients docs@python, eric.araujo, ezio.melotti, maggyero, mdk, rhettinger, willingc
Date 2019-06-08.15:48:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1560008919.13.0.561973062155.issue37203@roundup.psfhosted.org>
In-reply-to
Content
This wasn't intended to be an exact equivalent. Instead, it focuses on the key action of classmethod which is prepending the class to the call.  Though less accurate, the current version communicates better.  I suggest adding a short comment to the effect that "newfunc" emulates "types.MethodType(self.f, klass)".
History
Date User Action Args
2019-06-08 15:48:39rhettingersetrecipients: + rhettinger, ezio.melotti, eric.araujo, docs@python, willingc, mdk, maggyero
2019-06-08 15:48:39rhettingersetmessageid: <1560008919.13.0.561973062155.issue37203@roundup.psfhosted.org>
2019-06-08 15:48:39rhettingerlinkissue37203 messages
2019-06-08 15:48:39rhettingercreate