Message288642
https://docs.python.org/dev/library/enum.html
"This module defines four enumeration classes that can be used to define unique sets of names and values: Enum, IntEnum, and IntFlags"
Enum, IntEnum, IntFlag: I count 3 classes, no 4?
Moreover, the correct class name is IntFlag, not IntFlags. Or did I miss something?
haypo@selma$ ./python
Python 3.7.0a0 (default, Feb 25 2017, 04:30:32)
>>> import enum
>>> enum.IntFlags
...
AttributeError: module 'enum' has no attribute 'IntFlags' |
|
Date |
User |
Action |
Args |
2017-02-27 13:48:31 | vstinner | set | recipients:
+ vstinner, docs@python |
2017-02-27 13:48:31 | vstinner | set | messageid: <1488203311.1.0.764284916797.issue29666@psf.upfronthosting.co.za> |
2017-02-27 13:48:31 | vstinner | link | issue29666 messages |
2017-02-27 13:48:30 | vstinner | create | |
|