This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients docs@python, vstinner
Date 2017-02-27.13:48:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1488203311.1.0.764284916797.issue29666@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2017-02-27 13:48:31vstinnersetrecipients: + vstinner, docs@python
2017-02-27 13:48:31vstinnersetmessageid: <1488203311.1.0.764284916797.issue29666@psf.upfronthosting.co.za>
2017-02-27 13:48:31vstinnerlinkissue29666 messages
2017-02-27 13:48:30vstinnercreate