[issue23292] Enum doc suggestion
Mark Summerfield
report at bugs.python.org
Mon Jan 26 09:36:45 CET 2015
Mark Summerfield added the comment:
Nice answer Ethan (but I can't vote you up since stack overflow won't let me vote or even comment anymore).
As for adding export_to(), it seems like a good idea. However, personally, I think the signature should be
hoist_into(namespace, cls, *clses)
to allow multiple enums in the same module to be exported in one go. (Just kidding about the new name though.)
PS I should have said earlier, thanks Eli:-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23292>
_______________________________________
More information about the Python-bugs-list
mailing list