Author serhiy.storchaka
Recipients jdemeyer, r.david.murray, scoder, serhiy.storchaka, steven.daprano
Date 2017-04-14.15:01:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
__code__ is not enough for quacking as a function. Different code can expect other function attributes (for example __name__, __qualname__ and __module__).

See also issue8488. inspect.isroutine() and inspect.ismethoddescriptor() return True for some descriptors, but they don't quack good enough for pydoc.
Date User Action Args
2017-04-14 15:01:47serhiy.storchakasetrecipients: + serhiy.storchaka, scoder, steven.daprano, r.david.murray, jdemeyer
2017-04-14 15:01:47serhiy.storchakasetmessageid: <>
2017-04-14 15:01:46serhiy.storchakalinkissue30071 messages
2017-04-14 15:01:46serhiy.storchakacreate