Message286214
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? |
|
Date |
User |
Action |
Args |
2017-01-24 20:27:11 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, ncoghlan, larry, serhiy.storchaka, yselivanov, xiang.zhang |
2017-01-24 20:27:11 | ethan.furman | set | messageid: <1485289631.65.0.180253826724.issue29363@psf.upfronthosting.co.za> |
2017-01-24 20:27:11 | ethan.furman | link | issue29363 messages |
2017-01-24 20:27:11 | ethan.furman | create | |
|