[docs] [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>

More information about the docs mailing list