Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
inspections
/
PyUnresolvedReferencesInspection
/
unresolvedSubscriptionOnClass.py
blob: 773679e3afdd936a04959a76c7e20854e3f0c81e [
file
]
class
Foo
(
object
):
def
__getitem__
(
self
,
item
):
return
item
Foo
<
warning descr
=
"Class 'type' does not define '__getitem__', so the '[]' operator cannot be used on its instances"
>[</
warning
>
0
]