Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2
Python 3.4 introduced official support for enumerations. This is a
backport of that feature to Python 3.3, 3.2, 3.1, 2.7, 2.5, 2.5, and 2.4.
An enumeration is a set of symbolic names (members) bound to unique,
constant values. Within an enumeration, the members can be compared by
identity, and the enumeration itself can be iterated over.
This module defines two enumeration classes that can be used to define
unique sets of names and values: Enum and IntEnum. It also defines one
decorator, unique, that ensures only unique member names are present
in an enumeration.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:lenovo-lico:lico-dep:5.1:el7/python-enum34 && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000058 58 Bytes | |
_service:download_files:enum34-1.1.6.tar.gz | 0000040048 39.1 KB | |
python-enum34.spec | 0000002187 2.14 KB |
Latest Revision
Yunfei Shi (gassyfeve)
committed
(revision 12)
Release from home:lenovo-lico:lico-dep:Factory:el7 / python-enum34
Comments 0