This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ethan.furman
Recipients ethan.furman, larry, ncoghlan, rhettinger, serhiy.storchaka, xiang.zhang, yselivanov
Date 2017-01-24.20:27:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485289631.65.0.180253826724.issue29363@psf.upfronthosting.co.za>
In-reply-to
Content
Probably not because an enum class' __call__ comes from the type EnumMeta -- so having two different __call__ methods would mean two different metaclasses, and I'm pretty sure I don't want to go there.  ;)

There is a __doc__ defined for the __call__ method, though -- is there a reason inspect isn't using that?
History
Date User Action Args
2017-01-24 20:27:11ethan.furmansetrecipients: + ethan.furman, rhettinger, ncoghlan, larry, serhiy.storchaka, yselivanov, xiang.zhang
2017-01-24 20:27:11ethan.furmansetmessageid: <1485289631.65.0.180253826724.issue29363@psf.upfronthosting.co.za>
2017-01-24 20:27:11ethan.furmanlinkissue29363 messages
2017-01-24 20:27:11ethan.furmancreate