Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
r
/
regression
/
regression_2306_enum_value.py
blob: 0cc23c2db78c4e50cf3bf8b81c94165f03fe0006 [
file
] [
log
] [
blame
]
# pylint: disable=missing-docstring,invalid-name
from
enum
import
Enum
class
Color
(
Enum
):
red
=
1
green
=
2
blue
=
3
def
__lt__
(
self
,
other
):
return
self
.
value
<
other
.
value