Sign in
fuchsia
/
third_party
/
github.com
/
pycqa
/
pylint
/
refs/heads/master
/
.
/
tests
/
functional
/
r
/
regression
/
regression_4358_unsubscriptable_enum.py
blob: 63a9d77499f1cae41be4a9c98617c07c1ecfb373 [
file
] [
log
] [
blame
]
# pylint: disable=pointless-statement,missing-docstring
# https://github.com/PyCQA/pylint/issues/4358
from
enum
import
Enum
class
Foo
(
Enum
):
BAR
=
1
Foo
.
__members__
[
'BAR'
]
# <-- error: Value 'Foo.__members__' is unsubscriptable