[docs] Code, test, and doc review for PEP-0435 Enum (issue 17947)

alex.gaynor at gmail.com alex.gaynor at gmail.com
Mon May 13 19:35:53 CEST 2013


http://bugs.python.org/review/17947/diff/8131/Lib/enum.py
File Lib/enum.py (right):

http://bugs.python.org/review/17947/diff/8131/Lib/enum.py#newcode355
Lib/enum.py:355: return member
I would have assumed that that creating an enum from a value would be
O(1), not O(n), is there no way we can improve this?

http://bugs.python.org/review/17947/


More information about the docs mailing list