Ethan Furman added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue29363>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to